summaryrefslogtreecommitdiffstats
path: root/apps/calendar/lib
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/calendar/lib
parent8ed4606685f93f5fea002aecaf5279f482e78115 (diff)
downloadnextcloud-server-3babb8c22cf5d08ad4c4d79efee26fd1fb9a8472.tar.gz
nextcloud-server-3babb8c22cf5d08ad4c4d79efee26fd1fb9a8472.zip
improve flexibility of search providers a bit
Diffstat (limited to 'apps/calendar/lib')
-rw-r--r--apps/calendar/lib/search.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/calendar/lib/search.php b/apps/calendar/lib/search.php
index 8405866392d..da5fa35bc21 100644
--- a/apps/calendar/lib/search.php
+++ b/apps/calendar/lib/search.php
@@ -1,6 +1,6 @@
<?php
-class OC_Search_Provider_Calendar implements OC_Search_Provider{
- static function search($query){
+class OC_Search_Provider_Calendar extends OC_Search_Provider{
+ function search($query){
$calendars = OC_Calendar_Calendar::allCalendars(OC_User::getUser(), 1);
if(count($calendars)==0 || !OC_App::isEnabled('calendar')){
//return false;