diff options
author | Morris Jobke <morris.jobke@gmail.com> | 2014-02-20 15:30:51 +0100 |
---|---|---|
committer | Morris Jobke <morris.jobke@gmail.com> | 2014-02-20 15:30:51 +0100 |
commit | b946c0f08b9387115cbca7f34ec14a085a194842 (patch) | |
tree | d2c01683d0cbd93d4cf9c666fd09d0c3b7aaa2d9 | |
parent | c869e0116b24ee16e531ea7e4b8bd4b890a7021f (diff) | |
parent | d329049e5396cdbd488a9a6a93308d19484b97bd (diff) | |
download | nextcloud-server-b946c0f08b9387115cbca7f34ec14a085a194842.tar.gz nextcloud-server-b946c0f08b9387115cbca7f34ec14a085a194842.zip |
Merge pull request #7319 from owncloud/remote-unneeded-if
Remove no longer needed if statement
-rw-r--r-- | remote.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/remote.php b/remote.php index 8e7eaa7963b..9e18c8f80a9 100644 --- a/remote.php +++ b/remote.php @@ -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.'/'; |