aboutsummaryrefslogtreecommitdiffstats
path: root/functions/calendar_functions.php
diff options
context:
space:
mode:
authorWesley Miaw <josuah@users.sourceforge.net>2005-11-24 02:02:38 +0000
committerWesley Miaw <josuah@users.sourceforge.net>2005-11-24 02:02:38 +0000
commite2ef86112facc0b3988308397ce6c70b76f9786a (patch)
tree955012278c1ec3cb6ce7f310585d0204695d82cf /functions/calendar_functions.php
parent2a97a948d49840d9342a3cd64a0331d4f3071bb9 (diff)
downloadphpicalendar-e2ef86112facc0b3988308397ce6c70b76f9786a.tar.gz
phpicalendar-e2ef86112facc0b3988308397ce6c70b76f9786a.tar.bz2
phpicalendar-e2ef86112facc0b3988308397ce6c70b76f9786a.zip
Reverted behavior, as the previous behavior was correct according to
the comment in config.inc.php.
Diffstat (limited to 'functions/calendar_functions.php')
-rw-r--r--functions/calendar_functions.php4
1 files changed, 1 insertions, 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.

© 2014-2024 Faster IT GmbH | imprint | privacy policy