From 1d16a53c480ea7eb93ba118f6ffd69131eb5f3c5 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 21 Aug 2016 20:36:16 -0400 Subject: Store comment sorting direction in user metadata --- app/Core/User/UserSession.php | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'app/Core/User/UserSession.php') 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; - } } -- cgit v1.2.3