summaryrefslogtreecommitdiffstats
path: root/apps/calendar/lib/search.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/calendar/lib/search.php')
-rwxr-xr-xapps/calendar/lib/search.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/calendar/lib/search.php b/apps/calendar/lib/search.php
index fae2da3b029..3291e505249 100755
--- a/apps/calendar/lib/search.php
+++ b/apps/calendar/lib/search.php
@@ -2,7 +2,7 @@
class OC_Search_Provider_Calendar extends OC_Search_Provider{
function search($query){
$calendars = OC_Calendar_Calendar::allCalendars(OCP\USER::getUser(), 1);
- if(count($calendars)==0 || !OC_App::isEnabled('calendar')){
+ if(count($calendars)==0 || !OCP\App::isEnabled('calendar')){
//return false;
}
$results=array();