summaryrefslogtreecommitdiff
path: root/app/Core/User/UserSession.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-08-21 20:36:16 -0400
committerFrederic Guillot <fred@kanboard.net>2016-08-21 20:36:16 -0400
commit1d16a53c480ea7eb93ba118f6ffd69131eb5f3c5 (patch)
tree822a3a22ce1411a1ad10665c6c7b8f3b6c2ed3b5 /app/Core/User/UserSession.php
parent8e83e404fbb1d0dc770e5b41fa315a674541459a (diff)
Store comment sorting direction in user metadata
Diffstat (limited to 'app/Core/User/UserSession.php')
-rw-r--r--app/Core/User/UserSession.php22
1 files changed, 0 insertions, 22 deletions
diff --git a/app/Core/User/UserSession.php b/app/Core/User/UserSession.php
index 9c63f07a..4397876c 100644
--- a/app/Core/User/UserSession.php
+++ b/app/Core/User/UserSession.php
@@ -203,26 +203,4 @@ class UserSession extends Base
{
$this->sessionStorage->boardCollapsed[$project_id] = $is_collapsed;
}
-
- /**
- * Set comments sorting
- *
- * @access public
- * @param string $order
- */
- public function setCommentSorting($order)
- {
- $this->sessionStorage->commentSorting = $order;
- }
-
- /**
- * Get comments sorting direction
- *
- * @access public
- * @return string
- */
- public function getCommentSorting()
- {
- return empty($this->sessionStorage->commentSorting) ? 'ASC' : $this->sessionStorage->commentSorting;
- }
}