diff --git a/lib/files.php b/lib/files.php index 768a2ad2191c1bd2d7d3ab3a737079b1a02f1024..2d7e335e96917eca8fc5b64b9486f8b4592cb22c 100644 --- a/lib/files.php +++ b/lib/files.php @@ -28,11 +28,11 @@ class OC_Files { static $tmpFiles = array(); - public function getFileInfo($path){ + static public function getFileInfo($path){ return \OC\Files\Filesystem::getFileInfo($path); } - public function getDirectoryContent($path){ + static public function getDirectoryContent($path){ return \OC\Files\Filesystem::getDirectoryContent($path); }