From e2d282235f7663984734bb914c51abbabba3a625 Mon Sep 17 00:00:00 2001 From: defacer Date: Wed, 23 Mar 2005 00:35:57 +0000 Subject: [PATCH] Get rid of the "define custom timezone" button. --- admin/calendar.html | 3 +-- admin/calendar.php | 7 +------ 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/admin/calendar.html b/admin/calendar.html index 658c88fbe6b..6b6cc6e4ce1 100644 --- a/admin/calendar.html +++ b/admin/calendar.html @@ -78,8 +78,7 @@

- - +

diff --git a/admin/calendar.php b/admin/calendar.php index f7fa59a439e..a5e17c1d5bd 100644 --- a/admin/calendar.php +++ b/admin/calendar.php @@ -29,15 +29,10 @@ /// If data submitted, process and store if(($form = data_submitted()) && confirm_sesskey()) { - if(isset($form->mode_dst_update)) { + if(isset($form->mode_timezone_update)) { redirect('dst_update.php'); die(); } - if(isset($form->mode_timezones)) { - // Move to DST presets configuration - redirect('timezones.php'); - die(); - } // Normal configuration, just save the variables if(isset($form->adminseesallcourses)) { set_config('calendar_adminseesall', intval($form->adminseesallcourses) != 0);