summaryrefslogtreecommitdiffstats
path: root/apps/media
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-04-14 11:29:44 +0200
committerRobin Appelman <icewind@owncloud.com>2012-04-14 11:29:54 +0200
commit3babb8c22cf5d08ad4c4d79efee26fd1fb9a8472 (patch)
treea1e466f4875a4766124427f91a5db35c57e0fffd /apps/media
parent8ed4606685f93f5fea002aecaf5279f482e78115 (diff)
downloadnextcloud-server-3babb8c22cf5d08ad4c4d79efee26fd1fb9a8472.tar.gz
nextcloud-server-3babb8c22cf5d08ad4c4d79efee26fd1fb9a8472.zip
improve flexibility of search providers a bit
Diffstat (limited to 'apps/media')
-rw-r--r--apps/media/lib_media.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/media/lib_media.php b/apps/media/lib_media.php
index 9de291e8da2..a4e5a5dfebc 100644
--- a/apps/media/lib_media.php
+++ b/apps/media/lib_media.php
@@ -82,8 +82,8 @@ class OC_MEDIA{
}
}
-class OC_MediaSearchProvider implements OC_Search_Provider{
- static function search($query){
+class OC_MediaSearchProvider extends OC_Search_Provider{
+ function search($query){
require_once('lib_collection.php');
$artists=OC_MEDIA_COLLECTION::getArtists($query);
$albums=OC_MEDIA_COLLECTION::getAlbums(0,$query);