summaryrefslogtreecommitdiff
path: root/app/Helper/UserHelper.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Helper/UserHelper.php')
-rw-r--r--app/Helper/UserHelper.php13
1 files changed, 12 insertions, 1 deletions
diff --git a/app/Helper/UserHelper.php b/app/Helper/UserHelper.php
index 8c2567b9..02d1d451 100644
--- a/app/Helper/UserHelper.php
+++ b/app/Helper/UserHelper.php
@@ -13,7 +13,18 @@ use Kanboard\Core\Base;
class UserHelper extends Base
{
/**
- * Return true if the logged user as unread notifications
+ * Return subtask list toggle value
+ *
+ * @access public
+ * @return boolean
+ */
+ public function hasSubtaskListActivated()
+ {
+ return $this->userSession->hasSubtaskListActivated();
+ }
+
+ /**
+ * Return true if the logged user has unread notifications
*
* @access public
* @return boolean