From 8e7f4485abfc5209b449a2d41ab007aa44a04909 Mon Sep 17 00:00:00 2001 From: Gunnar Wrobel Date: Mon, 13 Dec 2010 17:16:54 +0100 Subject: [PATCH] Match signatures. No clue why the Date tests would suddenly fail as there was no commit in either Date or iCalendar for quite a while. Maybe it happened as I updated php-hudson-tools. Anyway matching the signatures seems the right thing to do. --- framework/Icalendar/lib/Horde/Icalendar/Daylight.php | 4 ++-- framework/Icalendar/lib/Horde/Icalendar/Standard.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/framework/Icalendar/lib/Horde/Icalendar/Daylight.php b/framework/Icalendar/lib/Horde/Icalendar/Daylight.php index 590851882..cb9ce1faf 100644 --- a/framework/Icalendar/lib/Horde/Icalendar/Daylight.php +++ b/framework/Icalendar/lib/Horde/Icalendar/Daylight.php @@ -26,9 +26,9 @@ class Horde_Icalendar_Daylight extends Horde_Icalendar * * @param $data TODO */ - public function parsevCalendar($data) + public function parsevCalendar($text, $base = 'VCALENDAR', $clear = true) { - parent::parsevCalendar($data, 'DAYLIGHT'); + parent::parsevCalendar($text, 'DAYLIGHT'); } /** diff --git a/framework/Icalendar/lib/Horde/Icalendar/Standard.php b/framework/Icalendar/lib/Horde/Icalendar/Standard.php index 90dad1f9d..4b39dec90 100644 --- a/framework/Icalendar/lib/Horde/Icalendar/Standard.php +++ b/framework/Icalendar/lib/Horde/Icalendar/Standard.php @@ -26,9 +26,9 @@ class Horde_Icalendar_Standard extends Horde_Icalendar * * @param $data TODO */ - public function parsevCalendar($data) + public function parsevCalendar($text, $base = 'VCALENDAR', $clear = true) { - parent::parsevCalendar($data, 'STANDARD'); + parent::parsevCalendar($text, 'STANDARD'); } /** -- 2.11.0