functions in OCP should be static
This commit is contained in:
parent
63d55fdde5
commit
1b50154c95
|
@ -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 ));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue