diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-10-10 12:25:46 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-10-10 12:25:46 +0200 |
commit | 07c53841899262fdd34304302ffaaf2704800c38 (patch) | |
tree | e9ada082fd9ad6d3eb41ba20e003ccaf93eb8316 /lib/app.php | |
parent | 9df60d27bd9dad6a37a0d763b808a5b1c5ade5c5 (diff) | |
download | nextcloud-server-07c53841899262fdd34304302ffaaf2704800c38.tar.gz nextcloud-server-07c53841899262fdd34304302ffaaf2704800c38.zip |
fix namespaces in filesystem and filesystemview
Diffstat (limited to 'lib/app.php')
-rwxr-xr-x | lib/app.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/app.php b/lib/app.php index 395230156f6..4d7353e99dc 100755 --- a/lib/app.php +++ b/lib/app.php @@ -714,16 +714,16 @@ class OC_App{ /** * @param string $appid - * @return OC_FilesystemView + * @return \OC\Files\View */ public static function getStorage($appid) { if(OC_App::isEnabled($appid)) {//sanity check if(OC_User::isLoggedIn()) { - $view = new OC_FilesystemView('/'.OC_User::getUser()); + $view = new \OC\Files\View('/'.OC_User::getUser()); if(!$view->file_exists($appid)) { $view->mkdir($appid); } - return new OC_FilesystemView('/'.OC_User::getUser().'/'.$appid); + return new \OC\Files\View('/'.OC_User::getUser().'/'.$appid); }else{ OC_Log::write('core', 'Can\'t get app storage, app, user not logged in', OC_Log::ERROR); return false; |