From 33f2525a392c983da6d6a407ea56a03126f9055f Mon Sep 17 00:00:00 2001 From: tom-- Date: Sun, 27 Jul 2014 14:30:13 -0400 Subject: [PATCH] Remove nonsense branch logic --- framework/base/Security.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/framework/base/Security.php b/framework/base/Security.php index 0b959a3a7e..707229080e 100644 --- a/framework/base/Security.php +++ b/framework/base/Security.php @@ -439,12 +439,10 @@ class Security extends Component if ($this->compareString($hash, $calculatedHash)) { return $pureData; - } else { - return false; } - } else { return false; } + return false; } /**