]> source.dussan.org Git - nextcloud-server.git/commitdiff
functions in OCP should be static
authorRobin Appelman <icewind@owncloud.com>
Thu, 25 Jul 2013 13:25:17 +0000 (15:25 +0200)
committerRobin Appelman <icewind@owncloud.com>
Thu, 25 Jul 2013 13:25:17 +0000 (15:25 +0200)
lib/public/files.php

index 4975bbb7dfa03456b252ece8d0c89017113f6452..852b041eefb1bc1af72cce4640bff5d41c6f44e7 100644 (file)
@@ -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 ));
        }