From 74740fb71ae6de34c5ab6cc14fe7284599360fc9 Mon Sep 17 00:00:00 2001 From: David Iwanowitsch Date: Fri, 14 Oct 2011 22:16:28 +0200 Subject: Do not set incorrect components for default calendar --- apps/calendar/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps') diff --git a/apps/calendar/index.php b/apps/calendar/index.php index 1e4d724b307..8b8ac729588 100644 --- a/apps/calendar/index.php +++ b/apps/calendar/index.php @@ -12,7 +12,7 @@ OC_Util::checkAppEnabled('calendar'); // Create default calendar ... $calendars = OC_Calendar_Calendar::allCalendars(OC_User::getUser()); if( count($calendars) == 0){ - OC_Calendar_Calendar::addCalendar(OC_User::getUser(),'default','Default calendar'); + OC_Calendar_Calendar::addCalendar(OC_User::getUser(),'Default calendar'); $calendars = OC_Calendar_Calendar::allCalendars(OC_User::getUser()); } OC_UTIL::addScript('calendar', 'calendar'); -- cgit v1.2.3