X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/7638ca2e290e13d2f2a4f80ef41b34ec964568eb..047bc803a5228a0a786462cabdfa5fdd9be762a4:/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) {