summaryrefslogtreecommitdiffstats
path: root/lib/files.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-12-15 02:22:09 +0100
committerRobin Appelman <icewind@owncloud.com>2012-12-15 02:22:09 +0100
commitc6a5ce54a706efe6d157ec30a3960a3ebf8719a7 (patch)
tree1c46e88f7f95e768ab75cb99e86b9060a0912ba9 /lib/files.php
parent946d58eaa8f93eb612a277fad1d7f870554b578e (diff)
downloadnextcloud-server-c6a5ce54a706efe6d157ec30a3960a3ebf8719a7.tar.gz
nextcloud-server-c6a5ce54a706efe6d157ec30a3960a3ebf8719a7.zip
these functions should be static
Diffstat (limited to 'lib/files.php')
-rw-r--r--lib/files.php4
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);
}