diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2013-09-20 16:37:07 +0200 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2013-09-20 16:37:07 +0200 |
commit | 9e39118b526afe6464fc15ea3fa5ed6301f1f63d (patch) | |
tree | 6db10176608de0d7a5b79d6a3b05750fc01791a9 /apps/files/lib | |
parent | 09cfebe93653f9168bdfb8e480a47c50a28868ea (diff) | |
download | nextcloud-server-9e39118b526afe6464fc15ea3fa5ed6301f1f63d.tar.gz nextcloud-server-9e39118b526afe6464fc15ea3fa5ed6301f1f63d.zip |
namespaces use upcasefirst parts
when _ is left in namespace and files are named after their classes the autoloader will also find classes in the lib folder of an app
its magic!
Diffstat (limited to 'apps/files/lib')
-rw-r--r-- | apps/files/lib/helper.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/files/lib/helper.php b/apps/files/lib/helper.php index 3c13b8ea6e2..5b454127a71 100644 --- a/apps/files/lib/helper.php +++ b/apps/files/lib/helper.php @@ -1,6 +1,6 @@ <?php -namespace OCA\files\lib; +namespace OCA\Files\Lib; class Helper { @@ -85,11 +85,11 @@ class Helper } $i['directory'] = $dir; $i['isPreviewAvailable'] = \OCP\Preview::isMimeSupported($i['mimetype']); - $i['icon'] = \OCA\files\lib\Helper::determineIcon($i); + $i['icon'] = \OCA\Files\Lib\Helper::determineIcon($i); $files[] = $i; } - usort($files, array('\OCA\files\lib\Helper', 'fileCmp')); + usort($files, array('\OCA\Files\Lib\Helper', 'fileCmp')); return $files; } |