Skip to content
Snippets Groups Projects
Commit b946c0f0 authored by Morris Jobke's avatar Morris Jobke
Browse files

Merge pull request #7319 from owncloud/remote-unneeded-if

Remove no longer needed if statement
parents c869e011 d329049e
Branches
No related tags found
No related merge requests found
......@@ -32,11 +32,7 @@ try {
default:
OC_Util::checkAppEnabled($app);
OC_App::loadApp($app);
if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {
$file = OC_App::getAppPath($app) .'/'. $parts[1];
}else{
$file = OC_App::getAppPath($app) .'/'. $parts[1];
}
$file = OC_App::getAppPath($app) .'/'. $parts[1];
break;
}
$baseuri = OC::$WEBROOT . '/remote.php/'.$service.'/';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment