X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/4d16598799828cd01d430bf8cb78aeaf955af31e..8e43fd9aa4cd7ec0d3dd806393ba03967f5050b2:/WEB-INF/lib/ttUser.class.php diff --git a/WEB-INF/lib/ttUser.class.php b/WEB-INF/lib/ttUser.class.php index 36d71363..07d810b8 100644 --- a/WEB-INF/lib/ttUser.class.php +++ b/WEB-INF/lib/ttUser.class.php @@ -155,14 +155,6 @@ class ttUser { return $this->is_client; } - // canManageTeam - determines whether current user is manager or co-manager. - // This is a legacy function that we are getting rid of by replacing with rights check. - function canManageTeam() { - return $this->can('manage_users'); // By default this is assigned to co-managers (an managers). - // Which is sufficient for now until we refactor all calls - // to this function and then remove it. - } - // isPluginEnabled checks whether a plugin is enabled for user. function isPluginEnabled($plugin) {