]> wagnertech.de Git - timetracker.git/blobdiff - WEB-INF/lib/ttUser.class.php
Added an override for managers to the Locking plugin.
[timetracker.git] / WEB-INF / lib / ttUser.class.php
index a6731a4eea063ec104d7d416f1d44b19c8f7e6d2..c9dee41c3a026a9f5fd2542fad2e25e0e31ed859 100644 (file)
@@ -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');