summaryrefslogtreecommitdiff
path: root/plugins/libcalendaring/libvcalendar.php
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2015-01-22 17:17:33 (GMT)
committerAleksander Machniak <machniak@kolabsys.com>2015-01-22 17:17:33 (GMT)
commit7c565bff0cb64349ace42b021934ad4ee335b721 (patch)
tree6484063e600d0a24f1a4a3d9acea088e8cfb4181 /plugins/libcalendaring/libvcalendar.php
parent23e4d1b25aa0cbcf72bde36eda4340e0623fab85 (diff)
downloadroundcubemail-plugins-kolab-7c565bff0cb64349ace42b021934ad4ee335b721.tar.gz
Fix typo in function name (parse_alarm_value)
Diffstat (limited to 'plugins/libcalendaring/libvcalendar.php')
-rw-r--r--plugins/libcalendaring/libvcalendar.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/libcalendaring/libvcalendar.php b/plugins/libcalendaring/libvcalendar.php
index 787ca72..b81ae99 100644
--- a/plugins/libcalendaring/libvcalendar.php
+++ b/plugins/libcalendaring/libvcalendar.php
@@ -588,7 +588,7 @@ class libvcalendar implements Iterator
$alarm['trigger'] = $prop->getDateTime();
}
}
- if (!$trigger && ($values = libcalendaring::parse_alaram_value($prop->value))) {
+ if (!$trigger && ($values = libcalendaring::parse_alarm_value($prop->value))) {
$trigger = $values[2];
}
@@ -1057,7 +1057,7 @@ class libvcalendar implements Iterator
else if ($event['alarms']) {
$va = VObject\Component::create('VALARM');
list($trigger, $va->action) = explode(':', $event['alarms']);
- $val = libcalendaring::parse_alaram_value($trigger);
+ $val = libcalendaring::parse_alarm_value($trigger);
if ($val[3])
$va->add('TRIGGER', $val[3]);
else if ($val[0] instanceof DateTime)