summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing
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_sharing
parentab584719049965f78d244879ce2a400a1955eec6 (diff)
downloadnextcloud-server-e2fb094693e94d425fa9f59278806ef636fc127b.tar.gz
nextcloud-server-e2fb094693e94d425fa9f59278806ef636fc127b.zip
some more porting
Diffstat (limited to 'apps/files_sharing')
-rwxr-xr-x[-rw-r--r--]apps/files_sharing/get.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/get.php b/apps/files_sharing/get.php
index fbcb265fc03..f6ae4bf075f 100644..100755
--- a/apps/files_sharing/get.php
+++ b/apps/files_sharing/get.php
@@ -27,7 +27,7 @@ if ($source !== false) {
$files = array();
$rootLength = strlen($root);
foreach (OC_Files::getdirectorycontent($source) 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'];