X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/3e557bb14365fb2483e0889820013198e0088674..b548ce1bf2e1175f72563fb0c0c986d551cd4b94:/WEB-INF/lib/ttUser.class.php 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;