aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/public/files.php2
1 files changed, 1 insertions, 1 deletions
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 ));
}