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/contacts | |
parent | 8ed4606685f93f5fea002aecaf5279f482e78115 (diff) | |
download | nextcloud-server-3babb8c22cf5d08ad4c4d79efee26fd1fb9a8472.tar.gz nextcloud-server-3babb8c22cf5d08ad4c4d79efee26fd1fb9a8472.zip |
improve flexibility of search providers a bit
Diffstat (limited to 'apps/contacts')
-rw-r--r-- | apps/contacts/lib/search.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/contacts/lib/search.php b/apps/contacts/lib/search.php index cf0a5fe6997..31d8542091e 100644 --- a/apps/contacts/lib/search.php +++ b/apps/contacts/lib/search.php @@ -1,6 +1,6 @@ <?php -class OC_Search_Provider_Contacts implements OC_Search_Provider{ - static function search($query){ +class OC_Search_Provider_Contacts extends OC_Search_Provider{ + function search($query){ $addressbooks = OC_Contacts_Addressbook::all(OC_User::getUser(), 1); // if(count($calendars)==0 || !OC_App::isEnabled('contacts')){ // //return false; |