From: Nik Okuntseff Date: Mon, 10 Dec 2018 14:40:33 +0000 (+0000) Subject: Finished refactoring project config for subgroups. X-Git-Tag: timetracker_1.19-1~435 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=45a82f93d80cf124930d1535d4dc7dd15c63e5de;p=timetracker.git Finished refactoring project config for subgroups. --- diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index 6209ab65..d68ab3df 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.18.29.4629 | Copyright © Anuko | +  Anuko Time Tracker 1.18.29.4630 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} diff --git a/mobile/project_delete.php b/mobile/project_delete.php index 5785496a..ac957e24 100644 --- a/mobile/project_delete.php +++ b/mobile/project_delete.php @@ -35,7 +35,7 @@ if (!ttAccessAllowed('manage_projects')) { header('Location: access_denied.php'); exit(); } -if (MODE_PROJECTS != $user->tracking_mode && MODE_PROJECTS_AND_TASKS != $user->tracking_mode) { +if (MODE_PROJECTS != $user->getTrackingMode() && MODE_PROJECTS_AND_TASKS != $user->getTrackingMode()) { header('Location: feature_disabled.php'); exit(); } diff --git a/project_delete.php b/project_delete.php index 450241e7..3b165a33 100644 --- a/project_delete.php +++ b/project_delete.php @@ -35,7 +35,7 @@ if (!ttAccessAllowed('manage_projects')) { header('Location: access_denied.php'); exit(); } -if (MODE_PROJECTS != $user->tracking_mode && MODE_PROJECTS_AND_TASKS != $user->tracking_mode) { +if (MODE_PROJECTS != $user->getTrackingMode() && MODE_PROJECTS_AND_TASKS != $user->getTrackingMode()) { header('Location: feature_disabled.php'); exit(); }