diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-12-15 02:22:09 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-12-15 02:22:09 +0100 |
commit | c6a5ce54a706efe6d157ec30a3960a3ebf8719a7 (patch) | |
tree | 1c46e88f7f95e768ab75cb99e86b9060a0912ba9 /lib/files.php | |
parent | 946d58eaa8f93eb612a277fad1d7f870554b578e (diff) | |
download | nextcloud-server-c6a5ce54a706efe6d157ec30a3960a3ebf8719a7.tar.gz nextcloud-server-c6a5ce54a706efe6d157ec30a3960a3ebf8719a7.zip |
these functions should be static
Diffstat (limited to 'lib/files.php')
-rw-r--r-- | lib/files.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/files.php b/lib/files.php index 768a2ad2191..2d7e335e969 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); } |