From e2fb094693e94d425fa9f59278806ef636fc127b Mon Sep 17 00:00:00 2001 From: Frank Karlitschek Date: Tue, 1 May 2012 21:07:08 +0200 Subject: some more porting --- apps/files/ajax/list.php | 2 +- apps/files/ajax/rawlist.php | 2 +- apps/files/index.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) mode change 100644 => 100755 apps/files/ajax/list.php mode change 100644 => 100755 apps/files/ajax/rawlist.php (limited to 'apps/files') diff --git a/apps/files/ajax/list.php b/apps/files/ajax/list.php old mode 100644 new mode 100755 index 83914332a7d..0bff5742ef4 --- a/apps/files/ajax/list.php +++ b/apps/files/ajax/list.php @@ -33,7 +33,7 @@ if($doBreadcrumb){ // make filelist $files = array(); foreach( OC_Files::getdirectorycontent( $dir ) as $i ){ - $i["date"] = OC_Util::formatDate($i["mtime"] ); + $i["date"] = OCP\Util::formatDate($i["mtime"] ); $files[] = $i; } diff --git a/apps/files/ajax/rawlist.php b/apps/files/ajax/rawlist.php old mode 100644 new mode 100755 index 0b37b93674f..86119de2d1b --- 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; } diff --git a/apps/files/index.php b/apps/files/index.php index c1b99cfaf5a..180452593ab 100755 --- a/apps/files/index.php +++ b/apps/files/index.php @@ -44,7 +44,7 @@ if(!OC_Filesystem::is_dir($dir.'/')) { $files = array(); foreach( OC_Files::getdirectorycontent( $dir ) as $i ){ - $i["date"] = OC_Util::formatDate($i["mtime"] ); + $i["date"] = OCP\Util::formatDate($i["mtime"] ); if($i['type']=='file'){ $fileinfo=pathinfo($i['name']); $i['basename']=$fileinfo['filename']; -- cgit v1.2.3