summaryrefslogtreecommitdiffstats
path: root/apps/files
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
parentab584719049965f78d244879ce2a400a1955eec6 (diff)
downloadnextcloud-server-e2fb094693e94d425fa9f59278806ef636fc127b.tar.gz
nextcloud-server-e2fb094693e94d425fa9f59278806ef636fc127b.zip
some more porting
Diffstat (limited to 'apps/files')
-rwxr-xr-x[-rw-r--r--]apps/files/ajax/list.php2
-rwxr-xr-x[-rw-r--r--]apps/files/ajax/rawlist.php2
-rwxr-xr-xapps/files/index.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/apps/files/ajax/list.php b/apps/files/ajax/list.php
index 83914332a7d..0bff5742ef4 100644..100755
--- 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
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;
}
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'];