summaryrefslogtreecommitdiffstats
path: root/apps/calendar/appinfo
diff options
context:
space:
mode:
authorGeorg Ehrke <dev@georgswebsite.de>2012-06-15 11:34:21 +0200
committerGeorg Ehrke <dev@georgswebsite.de>2012-06-15 11:34:21 +0200
commite4529301ff2ff8f8b6cb668cd48243070dabebde (patch)
tree8993ad955499d39dc49f57b53043520c00152262 /apps/calendar/appinfo
parent5c106834323a7337a1ce10fbd926a85c4b1cceba (diff)
downloadnextcloud-server-e4529301ff2ff8f8b6cb668cd48243070dabebde.tar.gz
nextcloud-server-e4529301ff2ff8f8b6cb668cd48243070dabebde.zip
change some function names in OC_Calendar_Repeat
Diffstat (limited to 'apps/calendar/appinfo')
-rw-r--r--apps/calendar/appinfo/app.php2
-rw-r--r--apps/calendar/appinfo/update.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/calendar/appinfo/app.php b/apps/calendar/appinfo/app.php
index 89821d37d83..f1f2a26d87d 100644
--- a/apps/calendar/appinfo/app.php
+++ b/apps/calendar/appinfo/app.php
@@ -13,7 +13,7 @@ OCP\Util::connectHook('OC_Calendar', 'addEvent', 'OC_Calendar_Repeat', 'generate
OCP\Util::connectHook('OC_Calendar', 'editEvent', 'OC_Calendar_Repeat', 'update');
OCP\Util::connectHook('OC_Calendar', 'deleteEvent', 'OC_Calendar_Repeat', 'clean');
OCP\Util::connectHook('OC_Calendar', 'moveEvent', 'OC_Calendar_Repeat', 'update');
-OCP\Util::connectHook('OC_Calendar', 'deleteCalendar', 'OC_Calendar_Repeat', 'cleancalendar');
+OCP\Util::connectHook('OC_Calendar', 'deleteCalendar', 'OC_Calendar_Repeat', 'cleanCalendar');
OCP\Util::addscript('calendar','loader');
OCP\Util::addscript("3rdparty", "chosen/chosen.jquery.min");
OCP\Util::addStyle("3rdparty", "chosen/chosen");
diff --git a/apps/calendar/appinfo/update.php b/apps/calendar/appinfo/update.php
index ab8a5263bd9..98159c33831 100644
--- a/apps/calendar/appinfo/update.php
+++ b/apps/calendar/appinfo/update.php
@@ -18,7 +18,7 @@ if (version_compare($installedVersion, '0.2.1', '<')) {
if (version_compare($installedVersion, '0.5', '<')) {
$calendars = OC_Calendar_Calendar::allCalendars(OCP\USER::getUser());
foreach($calendars as $calendar){
- OC_Calendar_Repeat::cleancalendar($calendar['id']);
- OC_Calendar_Repeat::generatecalendar($calendar['id']);
+ OC_Calendar_Repeat::cleanCalendar($calendar['id']);
+ OC_Calendar_Repeat::generateCalendar($calendar['id']);
}
} \ No newline at end of file