Some more renaming in progress.
[timetracker.git] / admin_team_delete.php
index 1bc290b..99d508f 100644 (file)
@@ -51,14 +51,14 @@ if ($request->isPost()) {
     $admin = new ttAdmin();
     $result = $admin->markGroupDeleted($group_id);
     if ($result) {
-      header('Location: admin_teams.php');
+      header('Location: admin_groups.php');
       exit();
     } else
       $err->add($i18n->get('error.db'));
   }
 
   if ($request->getParameter('btn_cancel')) {
-    header('Location: admin_teams.php');
+    header('Location: admin_groups.php');
     exit();
   }
 } // isPost