Added an override for managers to the Locking plugin.
authorNik Okuntseff <support@anuko.com>
Fri, 1 Apr 2016 17:21:03 +0000 (17:21 +0000)
committerNik Okuntseff <support@anuko.com>
Fri, 1 Apr 2016 17:21:03 +0000 (17:21 +0000)
WEB-INF/lib/ttUser.class.php
WEB-INF/templates/footer.tpl

index a6731a4..c9dee41 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');
 
index ab87a97..4075ce3 100644 (file)
@@ -12,7 +12,7 @@
       <br>
       <table cellspacing="0" cellpadding="4" width="100%" border="0">
         <tr>
-          <td align="center">&nbsp;Anuko Time Tracker 1.9.22.3468 | Copyright &copy; <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
+          <td align="center">&nbsp;Anuko Time Tracker 1.9.22.3469 | Copyright &copy; <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
             <a href="https://www.anuko.com/lp/tt_4.htm" target="_blank">{$i18n.footer.credits}</a> |
             <a href="https://www.anuko.com/lp/tt_5.htm" target="_blank">{$i18n.footer.license}</a> |
             <a href="https://www.anuko.com/lp/tt_7.htm" target="_blank">{$i18n.footer.improve}</a>