From: Nik Okuntseff Date: Fri, 13 Apr 2018 23:09:32 +0000 (+0000) Subject: Removed no longer needed isManager() function. X-Git-Tag: timetracker_1.19-1~841 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=b548ce1bf2e1175f72563fb0c0c986d551cd4b94;p=timetracker.git Removed no longer needed isManager() function. --- diff --git a/WEB-INF/lib/ttUser.class.php b/WEB-INF/lib/ttUser.class.php index bce21e03..0af49300 100644 --- a/WEB-INF/lib/ttUser.class.php +++ b/WEB-INF/lib/ttUser.class.php @@ -150,14 +150,6 @@ class ttUser { return in_array($do_something, $this->rights); } - // isManager - determines whether current user is group manager. - // This is a legacy function that we are getting rid of by replacing with rights check. - function isManager() { - return $this->can('export_data'); // By default this is assigned to managers but not co-managers. - // Which is sufficient for now until we refactor all calls - // to this function and then remove it. - } - // isClient - determines whether current user is a client. function isClient() { return $this->is_client; diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index 28ff0738..c9612607 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.17.88.4259 | Copyright © Anuko | +  Anuko Time Tracker 1.17.88.4260 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve}