diff options
Diffstat (limited to 'app/Core/User')
-rw-r--r-- | app/Core/User/UserSession.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/app/Core/User/UserSession.php b/app/Core/User/UserSession.php index 7917b223..f3f7359a 100644 --- a/app/Core/User/UserSession.php +++ b/app/Core/User/UserSession.php @@ -146,6 +146,17 @@ class UserSession extends Base } /** + * Return true if subtask list toggle is active + * + * @access public + * @return string + */ + public function hasSubtaskListActivated() + { + return isset($this->sessionStorage->subtaskListToggle) && ! empty($this->sessionStorage->subtaskListToggle); + } + + /** * Check is the user is connected * * @access public |