From 3ce130eac5002a79fc202282c19e6e0971445c02 Mon Sep 17 00:00:00 2001
From: defacer <defacer>
Date: Sun, 15 Jan 2006 01:44:08 +0000
Subject: [PATCH] When creating/editing events, it seems that the
 current/existing timestart is not pre-filled in the forms. This is a
 regression, no idea how and when it happened. Investigating...

First of all let's get rid of this "HACK! Don't use!" function...
---
 calendar/event.php | 2 --
 1 file changed, 2 deletions(-)

diff --git a/calendar/event.php b/calendar/event.php
index 8c2ead7fbb2..257c11e0185 100644
--- a/calendar/event.php
+++ b/calendar/event.php
@@ -367,8 +367,6 @@
         break;
 
         case 'new':
-            set_default($form->timestart, -1);
-
             if($cal_y && $cal_m && $cal_d && checkdate($cal_m, $cal_d, $cal_y)) {
                 $form->timestart = make_timestamp($cal_y, $cal_m, $cal_d, 0, 0, 0);
             }