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/ajax/list.php | |
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/ajax/list.php')
-rw-r--r-- | apps/files/ajax/list.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/files/ajax/list.php b/apps/files/ajax/list.php index f1b713b5534..869c9b9e348 100644 --- a/apps/files/ajax/list.php +++ b/apps/files/ajax/list.php @@ -20,11 +20,11 @@ $doBreadcrumb = isset($_GET['breadcrumb']); $data = array(); $baseUrl = OCP\Util::linkTo('files', 'index.php') . '?dir='; -$permissions = \OCA\files\lib\Helper::getDirPermissions($dir); +$permissions = \OCA\Files\Lib\Helper::getDirPermissions($dir); // Make breadcrumb if($doBreadcrumb) { - $breadcrumb = \OCA\files\lib\Helper::makeBreadcrumb($dir); + $breadcrumb = \OCA\Files\Lib\Helper::makeBreadcrumb($dir); $breadcrumbNav = new OCP\Template('files', 'part.breadcrumb', ''); $breadcrumbNav->assign('breadcrumb', $breadcrumb, false); @@ -34,7 +34,7 @@ if($doBreadcrumb) { } // make filelist -$files = \OCA\files\lib\Helper::getFiles($dir); +$files = \OCA\Files\Lib\Helper::getFiles($dir); $list = new OCP\Template("files", "part.list", ""); $list->assign('files', $files, false); |