From 3babb8c22cf5d08ad4c4d79efee26fd1fb9a8472 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Sat, 14 Apr 2012 11:29:44 +0200 Subject: improve flexibility of search providers a bit --- apps/media/lib_media.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/media') 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); -- cgit v1.2.3