X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=time_delete.php;h=273cba3534b8a69c4aae36420eae708a60e64abb;hb=05e0f5266a2959a452adfcae9d53c9729d3a3668;hp=538d9c7a667777abca806e96af86dc07b554043b;hpb=9e82b53fc5d8cb1e54b5fde774fa68a916f28b4c;p=timetracker.git diff --git a/time_delete.php b/time_delete.php index 538d9c7a..273cba35 100644 --- a/time_delete.php +++ b/time_delete.php @@ -38,12 +38,6 @@ if (!ttAccessCheck(right_data_entry)) { exit(); } -// Use Custom Fields plugin if we have one. -// if (file_exists("plugins/CustomFields.class.php")) { -// require_once("plugins/CustomFields.class.php"); -// $custom_fields = new CustomFields($user->team_id); -// } - $cl_id = $request->getParameter('id'); $time_rec = ttTimeHelper::getRecord($cl_id, $user->getActiveUser()); @@ -89,7 +83,7 @@ if ($request->isPost()) { header('Location: time.php'); exit(); } -} // POST +} // isPost $form = new Form('timeRecordForm'); $form->addInput(array('type'=>'hidden','name'=>'id','value'=>$cl_id));