From: Nik Okuntseff Date: Sun, 3 Apr 2016 13:36:04 +0000 (+0000) Subject: Changed a redirect for the Locking plugin. X-Git-Tag: timetracker_1.19-1~1741 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=270e151b8e401b815c6920a2d56e67db9e8b8e98;p=timetracker.git Changed a redirect for the Locking plugin. --- diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index 931390e6..c6b19def 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.9.22.3478 | Copyright © Anuko | +  Anuko Time Tracker 1.9.22.3479 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} diff --git a/dbinstall.php b/dbinstall.php index 1429a24f..39c967ae 100644 --- a/dbinstall.php +++ b/dbinstall.php @@ -517,6 +517,7 @@ if ($_POST) { setChange("DROP INDEX name_idx on tt_invoices"); setChange("create unique index name_idx on tt_invoices(team_id, name, status)"); setChange("ALTER TABLE tt_teams ADD COLUMN lock_spec varchar(255) default NULL"); + setChange("ALTER TABLE tt_teams DROP locktime"); } // The update_clients function updates projects field in tt_clients table. diff --git a/locking.php b/locking.php index 2383178f..dfdc2f2f 100644 --- a/locking.php +++ b/locking.php @@ -50,7 +50,7 @@ if ($request->isPost()) { if (ttTeamHelper::update($user->team_id, array( 'name' => $user->team, 'lock_spec' => $cl_lock_spec))) { - header('Location: time.php'); + header('Location: profile_edit.php'); exit(); } else { $err->add($i18n->getKey('error.db'));