summaryrefslogtreecommitdiffstats
path: root/apps/files/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/index.php')
-rwxr-xr-xapps/files/index.php2
1 files changed, 1 insertions, 1 deletions
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'];