diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-08-21 20:36:16 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-08-21 20:36:16 -0400 |
commit | 1d16a53c480ea7eb93ba118f6ffd69131eb5f3c5 (patch) | |
tree | 822a3a22ce1411a1ad10665c6c7b8f3b6c2ed3b5 /app/Core/User/UserSession.php | |
parent | 8e83e404fbb1d0dc770e5b41fa315a674541459a (diff) |
Store comment sorting direction in user metadata
Diffstat (limited to 'app/Core/User/UserSession.php')
-rw-r--r-- | app/Core/User/UserSession.php | 22 |
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; - } } |