Remove no longer needed if statement
This commit is contained in:
parent
b8048866c7
commit
d329049e53
|
@ -32,11 +32,7 @@ try {
|
||||||
default:
|
default:
|
||||||
OC_Util::checkAppEnabled($app);
|
OC_Util::checkAppEnabled($app);
|
||||||
OC_App::loadApp($app);
|
OC_App::loadApp($app);
|
||||||
if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {
|
$file = OC_App::getAppPath($app) .'/'. $parts[1];
|
||||||
$file = OC_App::getAppPath($app) .'/'. $parts[1];
|
|
||||||
}else{
|
|
||||||
$file = OC_App::getAppPath($app) .'/'. $parts[1];
|
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
$baseuri = OC::$WEBROOT . '/remote.php/'.$service.'/';
|
$baseuri = OC::$WEBROOT . '/remote.php/'.$service.'/';
|
||||||
|
|
Loading…
Reference in New Issue