diff options
author | Robin Appelman <icewind@owncloud.com> | 2013-07-25 15:25:17 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2013-07-25 15:25:17 +0200 |
commit | 1b50154c951aac132b90c7bdd7f260acf47e8c78 (patch) | |
tree | 3c1129b0cafb3370922330afdfd14839036ba5ce /lib/public/files.php | |
parent | 63d55fdde548ea0998a5d50deee32edfd9f5deee (diff) | |
download | nextcloud-server-1b50154c951aac132b90c7bdd7f260acf47e8c78.tar.gz nextcloud-server-1b50154c951aac132b90c7bdd7f260acf47e8c78.zip |
functions in OCP should be static
Diffstat (limited to 'lib/public/files.php')
-rw-r--r-- | lib/public/files.php | 2 |
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 )); } |