commit | fbe4d79ca0a70f404dce628d66deeaa3d90a2225 | [log] [tgz] |
---|---|---|
author | Andrey Andreev <narf@devilix.net> | Wed Dec 27 19:49:03 2017 +0200 |
committer | Andrey Andreev <narf@devilix.net> | Wed Dec 27 19:50:15 2017 +0200 |
tree | 4626010d3821b8c0c3e10676ea88dfda953ad47e | |
parent | 20d9b0a9c03955da0010a3df91adcd9b8e6e7d58 [diff] [blame] |
Merge pull request #5367 from carusogabriel/clean-elses Clean elses
diff --git a/system/libraries/Upload.php b/system/libraries/Upload.php index 0ad8dd3..3b450c5 100644 --- a/system/libraries/Upload.php +++ b/system/libraries/Upload.php
@@ -678,10 +678,8 @@ $this->set_error('upload_bad_filename', 'debug'); return FALSE; } - else - { - return $new_filename; - } + + return $new_filename; } // --------------------------------------------------------------------