summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorBartek Przybylski <bart.p.pl@gmail.com>2012-05-12 13:25:04 +0200
committerBartek Przybylski <bart.p.pl@gmail.com>2012-05-12 13:25:04 +0200
commitab9927d5fc6ada10a9e47dab0f2ace01f259d4af (patch)
treed70ee295eccfbf98a570b4e772eaadc2ae41b159 /apps
parentb4e7c05959a1a3ebcc540f1d8ed30f04fe185819 (diff)
downloadnextcloud-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-xapps/files/ajax/rawlist.php2
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;
}