diff options
Diffstat (limited to 'apps/calendar/index.php')
-rw-r--r-- | apps/calendar/index.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/calendar/index.php b/apps/calendar/index.php index 39f961d1bb9..1e4d724b307 100644 --- a/apps/calendar/index.php +++ b/apps/calendar/index.php @@ -8,6 +8,7 @@ require_once ('../../lib/base.php'); OC_Util::checkLoggedIn(); +OC_Util::checkAppEnabled('calendar'); // Create default calendar ... $calendars = OC_Calendar_Calendar::allCalendars(OC_User::getUser()); if( count($calendars) == 0){ |