From 9c1ad1c80dbdf3cfa73477437c33fb821a0424b8 Mon Sep 17 00:00:00 2001 From: Jim Hu Date: Mon, 26 Jan 2009 03:27:29 +0000 Subject: misc changes for 2.31 --- functions/calendar_functions.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'functions/calendar_functions.php') diff --git a/functions/calendar_functions.php b/functions/calendar_functions.php index 2362686..25ec8ed 100644 --- a/functions/calendar_functions.php +++ b/functions/calendar_functions.php @@ -101,6 +101,8 @@ function availableCalendars($username, $password, $cal_filename, $admin = false) if (!is_file($file)) continue; // Remove any php files. if (preg_match("/^.*\.php$/i", $file)) continue; + # remove publish log file + if ($file == 'publish_log.txt') continue; // Make sure this is not a blacklisted calendar. $cal_name = getCalendarName($file); if (in_array($cal_name, $blacklisted_cals)) continue; -- cgit v1.2.3