diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-09-16 13:42:53 +0200 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-09-16 13:42:53 +0200 |
commit | 1c295d4d653dd183dcaa2f1203d9461e5c0fcb6e (patch) | |
tree | c2bdc6a732fa16a7c5a93ccafc86b9980aadc042 /app | |
parent | 6afae5ba7bb6fad34bd41441e1e16ce078d2f257 (diff) |
Remove unused code
Diffstat (limited to 'app')
-rw-r--r-- | app/Auth/GitHub.php | 4 | ||||
-rw-r--r-- | app/Auth/Google.php | 2 | ||||
-rw-r--r-- | app/Controller/User.php | 2 |
3 files changed, 1 insertions, 7 deletions
diff --git a/app/Auth/GitHub.php b/app/Auth/GitHub.php index 1e99df41..0910367a 100644 --- a/app/Auth/GitHub.php +++ b/app/Auth/GitHub.php @@ -147,8 +147,6 @@ class GitHub extends Base catch (TokenResponseException $e) { return false; } - - return false; } /** @@ -172,7 +170,5 @@ class GitHub extends Base catch (TokenResponseException $e) { return false; } - - return false; } } diff --git a/app/Auth/Google.php b/app/Auth/Google.php index 3dca96be..aeeab563 100644 --- a/app/Auth/Google.php +++ b/app/Auth/Google.php @@ -147,7 +147,5 @@ class Google extends Base catch (TokenResponseException $e) { return false; } - - return false; } } 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(); |