From 15d237dd7e5ce541a9973a69c9dfeaa95dfd88e6 Mon Sep 17 00:00:00 2001 From: Nik Okuntseff Date: Fri, 1 Apr 2016 17:21:03 +0000 Subject: [PATCH] Added an override for managers to the Locking plugin. --- WEB-INF/lib/ttUser.class.php | 4 ++++ WEB-INF/templates/footer.tpl | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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'); diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index ab87a978..4075ce32 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.9.22.3468 | Copyright © Anuko | +  Anuko Time Tracker 1.9.22.3469 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} -- 2.20.1