Permalink
Browse files

Merge branch 'hotfix/4452'

Close #4452
  • Loading branch information...
2 parents 0209199 + 5857c81 commit f46dec7f88608365d8a60ec9d7fd4f0b664f51e1 @mwillbanks mwillbanks committed May 23, 2013
Showing with 1 addition and 9 deletions.
  1. +1 −9 library/Zend/Authentication/Result.php
@@ -73,15 +73,7 @@ class Result
*/
public function __construct($code, $identity, array $messages = array())
{
- $code = (int) $code;
-
- if ($code < self::FAILURE_UNCATEGORIZED) {
- $code = self::FAILURE;
- } elseif ($code > self::SUCCESS) {
- $code = 1;
- }
-
- $this->code = $code;
+ $this->code = (int) $code;
$this->identity = $identity;
$this->messages = $messages;
}

0 comments on commit f46dec7

Please sign in to comment.