]> source.dussan.org Git - nextcloud-server.git/commitdiff
Remove no longer needed if statement
authorRobin Appelman <icewind@owncloud.com>
Thu, 20 Feb 2014 13:51:23 +0000 (14:51 +0100)
committerRobin Appelman <icewind@owncloud.com>
Thu, 20 Feb 2014 13:51:23 +0000 (14:51 +0100)
remote.php

index 8e7eaa7963ba517b288e2eb4c3794db5455f032e..9e18c8f80a9dd207d001f7c2912b2e4b38fb9690 100644 (file)
@@ -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.'/';