diff options
author | Frank Karlitschek <frank@owncloud.org> | 2012-05-19 10:44:08 +0200 |
---|---|---|
committer | Frank Karlitschek <frank@owncloud.org> | 2012-05-19 10:44:08 +0200 |
commit | 7e49a33d6467ab0cc5efdceffd4204cffa281bd1 (patch) | |
tree | 8522060c7b5ff7ae470090b689caa3bf4831be96 /lib/public/files.php | |
parent | 08f7d4c552bf2c1974828c332b9dc74ea9ba8dd1 (diff) | |
download | nextcloud-server-7e49a33d6467ab0cc5efdceffd4204cffa281bd1.tar.gz nextcloud-server-7e49a33d6467ab0cc5efdceffd4204cffa281bd1.zip |
getStorage belongs to files not to apps.
Diffstat (limited to 'lib/public/files.php')
-rw-r--r-- | lib/public/files.php | 9 |
1 files changed, 9 insertions, 0 deletions
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 ); + } + |