diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-10-26 23:05:02 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-10-26 23:05:02 +0200 |
commit | 6db81afab9d68ccd50c1e164622252e47ae76c2f (patch) | |
tree | d4ae92ab7ee21805e52a29e4099daeb4649ca79e /apps/files/index.php | |
parent | 4b616764e825022e9394a4cb26af2012276285b4 (diff) | |
download | nextcloud-server-6db81afab9d68ccd50c1e164622252e47ae76c2f.tar.gz nextcloud-server-6db81afab9d68ccd50c1e164622252e47ae76c2f.zip |
move some stuff to the new api
Diffstat (limited to 'apps/files/index.php')
-rw-r--r-- | apps/files/index.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/index.php b/apps/files/index.php index 192cd2696f2..4676ebc6021 100644 --- a/apps/files/index.php +++ b/apps/files/index.php @@ -44,7 +44,7 @@ if(!\OC\Files\Filesystem::is_dir($dir.'/')) { } $files = array(); -foreach( OC_Files::getdirectorycontent( $dir ) as $i ) { +foreach( \OC\Files\Filesystem::getDirectoryContent( $dir ) as $i ) { $i['date'] = OCP\Util::formatDate($i['mtime'] ); if($i['type']=='file') { $fileinfo=pathinfo($i['name']); |