Refactoring white space.
[timetracker.git] / time_delete.php
index 538d9c7..273cba3 100644 (file)
@@ -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));