mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
Revert change
This commit is contained in:
parent
eacdf26cde
commit
4e2954673a
1 changed files with 2 additions and 2 deletions
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue