summaryrefslogtreecommitdiffstats
path: root/apps/calendar/lib/search.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/calendar/lib/search.php')
-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;