Skip to content
Snippets Groups Projects
Commit 4e295467 authored by Sander's avatar Sander
Browse files

Revert change

parent eacdf26c
No related branches found
No related tags found
No related merge requests found
......@@ -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)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment