From 894e609a40822ac7e1ef52ecb30e385da9b84307 Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Tue, 20 Apr 2010 16:04:41 +0200 Subject: [PATCH] Automatically display new remote calendars. --- kronolith/lib/Kronolith.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kronolith/lib/Kronolith.php b/kronolith/lib/Kronolith.php index cd35a082f..11bcf2c63 100644 --- a/kronolith/lib/Kronolith.php +++ b/kronolith/lib/Kronolith.php @@ -1802,6 +1802,8 @@ class Kronolith } } else { $remote_calendars[] = $info; + $GLOBALS['display_remote_calendars'][] = $info['url']; + $GLOBALS['prefs']->setValue('display_remote_cals', serialize($GLOBALS['display_remote_calendars'])); } $GLOBALS['prefs']->setValue('remote_cals', serialize($remote_calendars)); -- 2.11.0