commit | 77870b53059d1ee3d761ee54bc5042c560430e36 | [log] [tgz] |
---|---|---|
author | Andrey Andreev <narf@bofh.bg> | Sat Sep 24 14:35:10 2011 +0300 |
committer | Andrey Andreev <narf@bofh.bg> | Sat Sep 24 14:35:10 2011 +0300 |
tree | c1ba778290ebcf279bae8b3073c095e295188b22 | |
parent | 3a3c947790d3d072e14de2b5d21ae43743947ce8 [diff] |
Remove an unnecessary variable initialization
diff --git a/system/libraries/Upload.php b/system/libraries/Upload.php index fcfd899..a16d5f6 100644 --- a/system/libraries/Upload.php +++ b/system/libraries/Upload.php
@@ -1020,8 +1020,6 @@ */ protected function _file_mime_type($file) { - $file_type = ''; - // Use if the Fileinfo extension, if available (only versions above 5.3 support the FILEINFO_MIME_TYPE flag) if ( (float) substr(phpversion(), 0, 3) >= 5.3 && function_exists('finfo_file')) {