summaryrefslogtreecommitdiffstats
path: root/remote.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-02-20 14:51:23 +0100
committerRobin Appelman <icewind@owncloud.com>2014-02-20 14:51:23 +0100
commitd329049e5396cdbd488a9a6a93308d19484b97bd (patch)
tree8d6a75e78ca2b10fbbb524d1c3e1eeba4baa29d4 /remote.php
parentb8048866c7864cb8df5c43f4cb28ea94ca1427c9 (diff)
downloadnextcloud-server-d329049e5396cdbd488a9a6a93308d19484b97bd.tar.gz
nextcloud-server-d329049e5396cdbd488a9a6a93308d19484b97bd.zip
Remove no longer needed if statement
Diffstat (limited to 'remote.php')
-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.'/';