Revert change
This commit is contained in:
parent
eacdf26cde
commit
4e2954673a
|
@ -280,8 +280,8 @@ class Server extends SimpleContainer implements IServerContainer {
|
||||||
*
|
*
|
||||||
* @return \OCP\Files\Folder
|
* @return \OCP\Files\Folder
|
||||||
*/
|
*/
|
||||||
function getAppFolder($app) {
|
function getAppFolder() {
|
||||||
$dir = (!$app) ? '/' . \OC_App::getCurrentApp() : \OC_APP::getAppPath($app);
|
$dir = '/' . \OC_App::getCurrentApp();
|
||||||
$root = $this->getRootFolder();
|
$root = $this->getRootFolder();
|
||||||
$folder = null;
|
$folder = null;
|
||||||
if(!$root->nodeExists($dir)) {
|
if(!$root->nodeExists($dir)) {
|
||||||
|
|
Loading…
Reference in New Issue