From 7e49a33d6467ab0cc5efdceffd4204cffa281bd1 Mon Sep 17 00:00:00 2001 From: Frank Karlitschek Date: Sat, 19 May 2012 10:44:08 +0200 Subject: getStorage belongs to files not to apps. --- lib/public/app.php | 9 --------- lib/public/files.php | 9 +++++++++ 2 files changed, 9 insertions(+), 9 deletions(-) (limited to 'lib/public') diff --git a/lib/public/app.php b/lib/public/app.php index fc277b6ae9a..1a46180bb96 100644 --- a/lib/public/app.php +++ b/lib/public/app.php @@ -156,15 +156,6 @@ class App { } - /** - * @param string appid - * @param $app app - * @return OC_FilesystemView - */ - public static function getStorage( $app ){ - return \OC_App::getStorage( $app ); - } - } diff --git a/lib/public/files.php b/lib/public/files.php index 4e9e9e79804..24c0193e8a7 100644 --- a/lib/public/files.php +++ b/lib/public/files.php @@ -102,6 +102,15 @@ class Files { return(\OC_Helper::buildNotExistingFileName( $path, $filename )); } + /** + * @param string appid + * @param $app app + * @return OC_FilesystemView + */ + public static function getStorage( $app ){ + return \OC_App::getStorage( $app ); + } + -- cgit v1.2.3