summaryrefslogtreecommitdiffstats
path: root/system/libraries
diff options
context:
space:
mode:
Diffstat (limited to 'system/libraries')
-rw-r--r--system/libraries/Upload.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/system/libraries/Upload.php b/system/libraries/Upload.php
index 29711bbbc..f5534a7f7 100644
--- a/system/libraries/Upload.php
+++ b/system/libraries/Upload.php
@@ -338,11 +338,9 @@ class CI_Upload {
$this->$key = $defaults[$key];
}
}
-
}
else
{
-
foreach ($config as $key => &$value)
{
if ($key[0] !== '_' && $reflection->hasProperty($key))
@@ -357,7 +355,6 @@ class CI_Upload {
}
}
}
-
}
// if a file_name was provided in the config, use it instead of the user input