summaryrefslogtreecommitdiffstats
path: root/apps/files/ajax/rawlist.php
diff options
context:
space:
mode:
authorFrank Karlitschek <frank@owncloud.org>2012-05-06 23:00:36 +0200
committerFrank Karlitschek <frank@owncloud.org>2012-05-06 23:00:36 +0200
commit1945cd694636def02a2b2d4fb36720b3f0aeeb10 (patch)
treeee041bce0aaa57f99a6680c2138c8fef00129869 /apps/files/ajax/rawlist.php
parent5d55c709dddad44984446efa49ceb7084fc16b3f (diff)
downloadnextcloud-server-1945cd694636def02a2b2d4fb36720b3f0aeeb10.tar.gz
nextcloud-server-1945cd694636def02a2b2d4fb36720b3f0aeeb10.zip
ported the oc_template class
Diffstat (limited to 'apps/files/ajax/rawlist.php')
-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 36dd35cc73e..6e7ace91013 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' ? mimetype_icon('dir'): mimetype_icon($i['mimetype']);
+ $i['mimetype_icon'] = $i['type'] == 'dir' ? OCP\mimetype_icon('dir'): OCP\mimetype_icon($i['mimetype']);
$files[] = $i;
}