summaryrefslogtreecommitdiffstats
path: root/system/database
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2015-07-02 10:34:20 +0200
committerAndrey Andreev <narf@devilix.net>2015-07-02 10:34:20 +0200
commit441d3536b79bc53c80dd710a803ac5d0baba6c18 (patch)
treeece938439c3884f80f419c53cb9c2a56353940b5 /system/database
parent40780c27c6e78d303b34fab7ae8e420cf28e704a (diff)
Close #3941
Diffstat (limited to 'system/database')
-rw-r--r--system/database/DB_forge.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/system/database/DB_forge.php b/system/database/DB_forge.php
index f6ee2a63a..d99fd0024 100644
--- a/system/database/DB_forge.php
+++ b/system/database/DB_forge.php
@@ -453,12 +453,7 @@ abstract class CI_DB_forge {
return ($this->db->db_debug) ? $this->db->display_error('db_table_name_required') : FALSE;
}
- $query = $this->_drop_table($this->db->dbprefix.$table_name, $if_exists);
- if ($query === FALSE)
- {
- return ($this->db->db_debug) ? $this->db->display_error('db_unsupported_feature') : FALSE;
- }
- elseif ($query === TRUE)
+ if (($query = $this->_drop_table($this->db->dbprefix.$table_name, $if_exists)) === TRUE)
{
return TRUE;
}