From 1c295d4d653dd183dcaa2f1203d9461e5c0fcb6e Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Tue, 16 Sep 2014 13:42:53 +0200 Subject: Remove unused code --- app/Controller/User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Controller') diff --git a/app/Controller/User.php b/app/Controller/User.php index ee3d47eb..a02dd7be 100644 --- a/app/Controller/User.php +++ b/app/Controller/User.php @@ -93,7 +93,7 @@ class User extends Base */ private function getUser() { - $user = $this->user->getById($this->request->getIntegerParam('user_id'), true); + $user = $this->user->getById($this->request->getIntegerParam('user_id')); if (! $user) { $this->notfound(); -- cgit v1.2.3