summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <morris.jobke@gmail.com>2014-02-20 15:30:51 +0100
committerMorris Jobke <morris.jobke@gmail.com>2014-02-20 15:30:51 +0100
commitb946c0f08b9387115cbca7f34ec14a085a194842 (patch)
treed2c01683d0cbd93d4cf9c666fd09d0c3b7aaa2d9
parentc869e0116b24ee16e531ea7e4b8bd4b890a7021f (diff)
parentd329049e5396cdbd488a9a6a93308d19484b97bd (diff)
downloadnextcloud-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.php6
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.'/';