diff options
author | Bartek Przybylski <bart.p.pl@gmail.com> | 2012-05-12 13:25:04 +0200 |
---|---|---|
committer | Bartek Przybylski <bart.p.pl@gmail.com> | 2012-05-12 13:25:04 +0200 |
commit | ab9927d5fc6ada10a9e47dab0f2ace01f259d4af (patch) | |
tree | d70ee295eccfbf98a570b4e772eaadc2ae41b159 /apps | |
parent | b4e7c05959a1a3ebcc540f1d8ed30f04fe185819 (diff) | |
download | nextcloud-server-ab9927d5fc6ada10a9e47dab0f2ace01f259d4af.tar.gz nextcloud-server-ab9927d5fc6ada10a9e47dab0f2ace01f259d4af.zip |
oc-627, calling base function instead of loading too much useless functions
Diffstat (limited to 'apps')
-rwxr-xr-x | apps/files/ajax/rawlist.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/ajax/rawlist.php b/apps/files/ajax/rawlist.php index 6e7ace91013..7cb02f79673 100755 --- a/apps/files/ajax/rawlist.php +++ b/apps/files/ajax/rawlist.php @@ -17,7 +17,7 @@ $mimetype = isset($_GET['mimetype']) ? $_GET['mimetype'] : ''; $files = array(); foreach( OC_Files::getdirectorycontent( $dir, $mimetype ) as $i ){ $i["date"] = OCP\Util::formatDate($i["mtime"] ); - $i['mimetype_icon'] = $i['type'] == 'dir' ? OCP\mimetype_icon('dir'): OCP\mimetype_icon($i['mimetype']); + $i['mimetype_icon'] = $i['type'] == 'dir' ? \mimetype_icon('dir'): \mimetype_icon($i['mimetype']); $files[] = $i; } |