From 1b50154c951aac132b90c7bdd7f260acf47e8c78 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Thu, 25 Jul 2013 15:25:17 +0200 Subject: [PATCH] functions in OCP should be static --- lib/public/files.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/public/files.php b/lib/public/files.php index 4975bbb7dfa..852b041eefb 100644 --- a/lib/public/files.php +++ b/lib/public/files.php @@ -61,7 +61,7 @@ class Files { * @param string $query * @return array */ - public function searchByMime($mimetype) { + static public function searchByMime($mimetype) { return(\OC\Files\Filesystem::searchByMime( $mimetype )); }