Merge pull request #5367 from carusogabriel/clean-elses
Clean elses
diff --git a/system/libraries/Encryption.php b/system/libraries/Encryption.php
index c1e454d..9a21bae 100644
--- a/system/libraries/Encryption.php
+++ b/system/libraries/Encryption.php
@@ -682,10 +682,8 @@
{
return FALSE;
}
- else
- {
- $params['mode'] = $this->_modes[$this->_driver][$params['mode']];
- }
+
+ $params['mode'] = $this->_modes[$this->_driver][$params['mode']];
}
if (isset($params['hmac']) && $params['hmac'] === FALSE)