summaryrefslogtreecommitdiffstats
path: root/system/libraries/Encryption.php
diff options
context:
space:
mode:
authorGabriel Caruso <carusogabriel34@gmail.com>2017-12-20 17:50:39 +0100
committerGabriel Caruso <carusogabriel34@gmail.com>2017-12-20 17:55:18 +0100
commit058a127a6a5e15f39def341e67a7cd6418882c34 (patch)
tree1d8d3bef54d90bcb991312fc2bc33be7e752f2e0 /system/libraries/Encryption.php
parent3ecfcaa94bbae55fec8c2c9bbf8524c49816342f (diff)
Clean elses
Diffstat (limited to 'system/libraries/Encryption.php')
-rw-r--r--system/libraries/Encryption.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/system/libraries/Encryption.php b/system/libraries/Encryption.php
index c3ddf60ed..4f4f72057 100644
--- a/system/libraries/Encryption.php
+++ b/system/libraries/Encryption.php
@@ -682,10 +682,8 @@ class CI_Encryption {
{
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)