From 51fef80f7d0358583dd474789a87a972a61a3ac0 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Mon, 22 Aug 2016 21:20:48 -0400 Subject: Store board collapsed mode user preference in the database --- app/Core/User/UserSession.php | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'app/Core/User/UserSession.php') diff --git a/app/Core/User/UserSession.php b/app/Core/User/UserSession.php index 4397876c..7917b223 100644 --- a/app/Core/User/UserSession.php +++ b/app/Core/User/UserSession.php @@ -179,28 +179,4 @@ class UserSession extends Base { $this->sessionStorage->filters[$project_id] = $filters; } - - /** - * Is board collapsed or expanded - * - * @access public - * @param integer $project_id - * @return boolean - */ - public function isBoardCollapsed($project_id) - { - return ! empty($this->sessionStorage->boardCollapsed[$project_id]) ? $this->sessionStorage->boardCollapsed[$project_id] : false; - } - - /** - * Set board display mode - * - * @access public - * @param integer $project_id - * @param boolean $is_collapsed - */ - public function setBoardDisplayMode($project_id, $is_collapsed) - { - $this->sessionStorage->boardCollapsed[$project_id] = $is_collapsed; - } } -- cgit v1.2.3