Remove unused code

This commit is contained in:
Frédéric Guillot
2014-09-16 13:42:53 +02:00
parent 6afae5ba7b
commit 1c295d4d65
3 changed files with 1 additions and 7 deletions

View File

@@ -147,8 +147,6 @@ class GitHub extends Base
catch (TokenResponseException $e) { catch (TokenResponseException $e) {
return false; return false;
} }
return false;
} }
/** /**
@@ -172,7 +170,5 @@ class GitHub extends Base
catch (TokenResponseException $e) { catch (TokenResponseException $e) {
return false; return false;
} }
return false;
} }
} }

View File

@@ -147,7 +147,5 @@ class Google extends Base
catch (TokenResponseException $e) { catch (TokenResponseException $e) {
return false; return false;
} }
return false;
} }
} }

View File

@@ -93,7 +93,7 @@ class User extends Base
*/ */
private function getUser() private function getUser()
{ {
$user = $this->user->getById($this->request->getIntegerParam('user_id'), true); $user = $this->user->getById($this->request->getIntegerParam('user_id'));
if (! $user) { if (! $user) {
$this->notfound(); $this->notfound();