summaryrefslogtreecommitdiffstats
path: root/lib/files.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-10-26 23:05:02 +0200
committerRobin Appelman <icewind@owncloud.com>2012-10-26 23:05:02 +0200
commit6db81afab9d68ccd50c1e164622252e47ae76c2f (patch)
treed4ae92ab7ee21805e52a29e4099daeb4649ca79e /lib/files.php
parent4b616764e825022e9394a4cb26af2012276285b4 (diff)
downloadnextcloud-server-6db81afab9d68ccd50c1e164622252e47ae76c2f.tar.gz
nextcloud-server-6db81afab9d68ccd50c1e164622252e47ae76c2f.zip
move some stuff to the new api
Diffstat (limited to 'lib/files.php')
-rw-r--r--lib/files.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/files.php b/lib/files.php
index 422e7f4ffe7..6a063f216d5 100644
--- a/lib/files.php
+++ b/lib/files.php
@@ -146,7 +146,7 @@ class OC_Files {
$dirname = basename($dir);
$zip->addEmptyDir($internalDir . $dirname);
$internalDir .= $dirname .= '/';
- $files = OC_Files::getdirectorycontent($dir);
+ $files = \OC\Files\Filesystem::getDirectoryContent($dir);
foreach ($files as $file) {
$filename = $file['name'];
$file = $dir . '/' . $filename;