summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/get.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/get.php')
-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'];