diff options
author | Andrey Andreev <narf@devilix.net> | 2015-12-14 15:42:29 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2015-12-14 15:42:29 +0100 |
commit | 788fb4aa823179e7c4401f5384207d916697bb7e (patch) | |
tree | 551fd91834cc4f259d44d2355638552130ca2749 /system/database/DB_forge.php | |
parent | 97ecf2fcce8e3133e286e16de1b49612235a8dcf (diff) | |
parent | bc05b84995d5425d6bdc28c43174e70b720840ce (diff) |
Merge branch '3.0-stable' into develop
Diffstat (limited to 'system/database/DB_forge.php')
-rw-r--r-- | system/database/DB_forge.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/system/database/DB_forge.php b/system/database/DB_forge.php index f9cf76a14..1546e40c0 100644 --- a/system/database/DB_forge.php +++ b/system/database/DB_forge.php @@ -780,10 +780,6 @@ abstract class CI_DB_forge { case 'ENUM': case 'SET': $attributes['CONSTRAINT'] = $this->db->escape($attributes['CONSTRAINT']); - $field['length'] = is_array($attributes['CONSTRAINT']) - ? "('".implode("','", $attributes['CONSTRAINT'])."')" - : '('.$attributes['CONSTRAINT'].')'; - break; default: $field['length'] = is_array($attributes['CONSTRAINT']) ? '('.implode(',', $attributes['CONSTRAINT']).')' |