diff --git a/lib/private/server.php b/lib/private/server.php index a2cf80aeea..6bd0eabb6e 100644 --- a/lib/private/server.php +++ b/lib/private/server.php @@ -280,8 +280,8 @@ class Server extends SimpleContainer implements IServerContainer { * * @return \OCP\Files\Folder */ - function getAppFolder($app) { - $dir = (!$app) ? '/' . \OC_App::getCurrentApp() : \OC_APP::getAppPath($app); + function getAppFolder() { + $dir = '/' . \OC_App::getCurrentApp(); $root = $this->getRootFolder(); $folder = null; if(!$root->nodeExists($dir)) {