Commit 935e2f5c by Alexander Makarov

Merge pull request #4475 from tom--/remove-else-after-return

Remove nonsense branch logic
parents f07510e9 33f2525a
...@@ -439,12 +439,10 @@ class Security extends Component ...@@ -439,12 +439,10 @@ class Security extends Component
if ($this->compareString($hash, $calculatedHash)) { if ($this->compareString($hash, $calculatedHash)) {
return $pureData; return $pureData;
} else {
return false;
} }
} else {
return false; return false;
} }
return false;
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment