From: Robin Appelman Date: Thu, 25 Jul 2013 13:25:17 +0000 (+0200) Subject: functions in OCP should be static X-Git-Tag: v6.0.0alpha2~397 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1b50154c951aac132b90c7bdd7f260acf47e8c78;p=nextcloud-server.git functions in OCP should be static --- 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 )); }