diff options
author | Andrey Andreev <narf@devilix.net> | 2015-11-24 10:36:29 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2015-11-24 10:36:29 +0100 |
commit | 422fd592428d6048e9a75868fa3e75527506dbb7 (patch) | |
tree | 9311aee0790442118894076e3844110384721cac /system/database | |
parent | 01d53bd69aef482a42d5bbc94fd3496e79a97f23 (diff) |
[ci skip] Remove some redundant code from DB_forge
Diffstat (limited to 'system/database')
-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 d2302b2f2..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']).')' |