From 6afae5ba7bb6fad34bd41441e1e16ce078d2f257 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Tue, 16 Sep 2014 13:38:32 +0200 Subject: Rename method names to be more consistent --- app/Controller/Board.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/Controller') diff --git a/app/Controller/Board.php b/app/Controller/Board.php index 05ef018a..d160380e 100644 --- a/app/Controller/Board.php +++ b/app/Controller/Board.php @@ -188,7 +188,7 @@ class Board extends Base */ public function index() { - $last_seen_project_id = $this->user->getLastSeenProject(); + $last_seen_project_id = $this->user->getLastSeenProjectId(); $favorite_project_id = $this->user->getFavoriteProjectId(); $project_id = $last_seen_project_id ?: $favorite_project_id; @@ -224,7 +224,7 @@ class Board extends Base $board_selector = $projects; unset($board_selector[$project['id']]); - $this->user->storeLastSeenProject($project['id']); + $this->user->storeLastSeenProjectId($project['id']); $this->response->html($this->template->layout('board_index', array( 'users' => $this->project->getUsersList($project['id'], true, true), -- cgit v1.2.3