summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2011-09-24 13:35:10 +0200
committerPhil Sturgeon <email@philsturgeon.co.uk>2011-10-27 00:33:42 +0200
commit6a12d8faba9dcb4f321700c86d047f7b6a4f1780 (patch)
tree02695d446a1d661cbb3820904d02245cc5639fe2
parent6700b93c4d7a16e7288e4e2cd3223093926666ea (diff)
Remove an unnecessary variable initialization
-rw-r--r--system/libraries/Upload.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/system/libraries/Upload.php b/system/libraries/Upload.php
index 93f763ed9..04abc9ac6 100644
--- a/system/libraries/Upload.php
+++ b/system/libraries/Upload.php
@@ -1018,8 +1018,6 @@ class CI_Upload {
*/
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'))
{