From 45a82f93d80cf124930d1535d4dc7dd15c63e5de Mon Sep 17 00:00:00 2001 From: Nik Okuntseff Date: Mon, 10 Dec 2018 14:40:33 +0000 Subject: [PATCH] Finished refactoring project config for subgroups. --- WEB-INF/templates/footer.tpl | 2 +- mobile/project_delete.php | 2 +- project_delete.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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(); } -- 2.20.1