diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-04-14 11:29:44 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-04-14 11:29:54 +0200 |
commit | 3babb8c22cf5d08ad4c4d79efee26fd1fb9a8472 (patch) | |
tree | a1e466f4875a4766124427f91a5db35c57e0fffd /apps/media | |
parent | 8ed4606685f93f5fea002aecaf5279f482e78115 (diff) | |
download | nextcloud-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.php | 4 |
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); |