functions in OCP should be static

This commit is contained in:
Robin Appelman 2013-07-25 15:25:17 +02:00
parent 63d55fdde5
commit 1b50154c95
1 changed files with 1 additions and 1 deletions

View 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 ));
}