From: Jan Schneider Date: Tue, 20 Apr 2010 14:04:41 +0000 (+0200) Subject: Automatically display new remote calendars. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=894e609a40822ac7e1ef52ecb30e385da9b84307;p=horde.git Automatically display new remote calendars. --- 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));