X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/b4912256781dcc0797dbe7f12bd9dec6718641db..15d237dd7e5ce541a9973a69c9dfeaa95dfd88e6:/WEB-INF/lib/ttUser.class.php diff --git a/WEB-INF/lib/ttUser.class.php b/WEB-INF/lib/ttUser.class.php index a6731a4e..c9dee41c 100644 --- a/WEB-INF/lib/ttUser.class.php +++ b/WEB-INF/lib/ttUser.class.php @@ -193,6 +193,10 @@ class ttUser { */ // New code with cron specification. + + // Override for managers. + if ($this->canManageTeam()) return false; + require_once(LIBRARY_DIR.'/tdcron/class.tdcron.php'); require_once(LIBRARY_DIR.'/tdcron/class.tdcron.entry.php');