summaryrefslogtreecommitdiffstats
path: root/apps/files/ajax/rawlist.php
diff options
context:
space:
mode:
authorFrank Karlitschek <frank@owncloud.org>2012-05-01 21:07:08 +0200
committerFrank Karlitschek <frank@owncloud.org>2012-05-01 21:07:08 +0200
commite2fb094693e94d425fa9f59278806ef636fc127b (patch)
treec6c6b9535faa7f32b78fc3b0fedd24d85ffd0752 /apps/files/ajax/rawlist.php
parentab584719049965f78d244879ce2a400a1955eec6 (diff)
downloadnextcloud-server-e2fb094693e94d425fa9f59278806ef636fc127b.tar.gz
nextcloud-server-e2fb094693e94d425fa9f59278806ef636fc127b.zip
some more porting
Diffstat (limited to 'apps/files/ajax/rawlist.php')
-rwxr-xr-x[-rw-r--r--]apps/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 0b37b93674f..86119de2d1b 100644..100755
--- a/apps/files/ajax/rawlist.php
+++ b/apps/files/ajax/rawlist.php
@@ -16,7 +16,7 @@ $mimetype = isset($_GET['mimetype']) ? $_GET['mimetype'] : '';
// make filelist
$files = array();
foreach( OC_Files::getdirectorycontent( $dir, $mimetype ) as $i ){
- $i["date"] = OC_Util::formatDate($i["mtime"] );
+ $i["date"] = OCP\Util::formatDate($i["mtime"] );
$i['mimetype_icon'] = $i['type'] == 'dir' ? mimetype_icon('dir'): mimetype_icon($i['mimetype']);
$files[] = $i;
}