summaryrefslogtreecommitdiffstats
path: root/system/database/DB_forge.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2015-11-24 10:36:29 +0100
committerAndrey Andreev <narf@devilix.net>2015-11-24 10:36:29 +0100
commit422fd592428d6048e9a75868fa3e75527506dbb7 (patch)
tree9311aee0790442118894076e3844110384721cac /system/database/DB_forge.php
parent01d53bd69aef482a42d5bbc94fd3496e79a97f23 (diff)
[ci skip] Remove some redundant code from DB_forge
Diffstat (limited to 'system/database/DB_forge.php')
-rw-r--r--system/database/DB_forge.php4
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']).')'