From b24b1e7e4e5ee0551ee56aa0f21c4425b479db2e Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Wed, 4 Feb 2015 22:19:32 -0500 Subject: Add subtasks restrictions and time tracking --- app/Controller/Base.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/Controller/Base.php') diff --git a/app/Controller/Base.php b/app/Controller/Base.php index d0d5e848..d36e02c0 100644 --- a/app/Controller/Base.php +++ b/app/Controller/Base.php @@ -167,6 +167,8 @@ abstract class Base if (! $this->acl->isPublicAction($controller, $action)) { $this->handleAuthentication(); $this->handleAuthorization($controller, $action); + + $this->session['has_subtask_inprogress'] = $this->subTask->hasSubtaskInProgress($this->userSession->getId()); } } -- cgit v1.2.3