diff options
author | Thomas Mueller <thomas.mueller@tmit.eu> | 2012-08-29 00:50:12 +0200 |
---|---|---|
committer | Thomas Mueller <thomas.mueller@tmit.eu> | 2012-08-29 00:50:12 +0200 |
commit | fe49cbafc77f8a197dfe5c947360d9e52396d081 (patch) | |
tree | 4a2a1c027c809f0ae29d638231127a1003344959 /apps/files/ajax/rawlist.php | |
parent | f301bfd8c9f6b9beda907888708b0d465dc87a83 (diff) | |
download | nextcloud-server-fe49cbafc77f8a197dfe5c947360d9e52396d081.tar.gz nextcloud-server-fe49cbafc77f8a197dfe5c947360d9e52396d081.zip |
apply coding style
Diffstat (limited to 'apps/files/ajax/rawlist.php')
-rw-r--r-- | apps/files/ajax/rawlist.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/files/ajax/rawlist.php b/apps/files/ajax/rawlist.php index d159f6e152f..20094563b17 100644 --- a/apps/files/ajax/rawlist.php +++ b/apps/files/ajax/rawlist.php @@ -5,7 +5,7 @@ $RUNTIME_APPTYPES=array('filesystem'); // Init owncloud -require_once('lib/template.php'); +require_once 'lib/template.php'; OCP\JSON::checkLoggedIn(); @@ -15,9 +15,9 @@ $mimetype = isset($_GET['mimetype']) ? $_GET['mimetype'] : ''; // make filelist $files = array(); -foreach( OC_Files::getdirectorycontent( $dir, $mimetype ) as $i ){ +foreach( OC_Files::getdirectorycontent( $dir, $mimetype ) as $i ) { $i["date"] = OCP\Util::formatDate($i["mtime"] ); - $i['mimetype_icon'] = $i['type'] == 'dir' ? \mimetype_icon('dir'): \mimetype_icon($i['mimetype']); + $i['mimetype_icon'] = $i['type'] == 'dir' ? \mimetype_icon('dir'): \mimetype_icon($i['mimetype']); $files[] = $i; } |