diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-08-22 21:20:48 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-08-22 21:20:48 -0400 |
commit | 51fef80f7d0358583dd474789a87a972a61a3ac0 (patch) | |
tree | 2b85ce87388d95b61110063a1605747c0b252e3c /app/Core/User/UserSession.php | |
parent | 1d16a53c480ea7eb93ba118f6ffd69131eb5f3c5 (diff) |
Store board collapsed mode user preference in the database
Diffstat (limited to 'app/Core/User/UserSession.php')
-rw-r--r-- | app/Core/User/UserSession.php | 24 |
1 files changed, 0 insertions, 24 deletions
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; - } } |