From e2ef86112facc0b3988308397ce6c70b76f9786a Mon Sep 17 00:00:00 2001 From: Wesley Miaw Date: Thu, 24 Nov 2005 02:02:38 +0000 Subject: Reverted behavior, as the previous behavior was correct according to the comment in config.inc.php. --- functions/calendar_functions.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/functions/calendar_functions.php b/functions/calendar_functions.php index c6514d5..1281f95 100644 --- a/functions/calendar_functions.php +++ b/functions/calendar_functions.php @@ -43,9 +43,7 @@ function availableCalendars($username, $password, $cal_filename, $admin = false) $search_paths = array($calendar_path); // Add web calendars. - if ($allow_webcals == 'yes' && - ($cal_filename == $ALL_CALENDARS_COMBINED || $admin)) - { + if ($cal_filename == $ALL_CALENDARS_COMBINED || $admin) { if (!isset($http_user) && !$admin) { foreach ($list_webcals as $file) { // Make sure the URL ends with .ics. -- cgit v1.2.3