UpdateDatabase.php
authorEdward <edward@roojs.com>
Wed, 30 Oct 2013 06:13:12 +0000 (14:13 +0800)
committerEdward <edward@roojs.com>
Wed, 30 Oct 2013 06:13:12 +0000 (14:13 +0800)
UpdateDatabase.php

index e81a1e6..7441c3f 100644 (file)
@@ -332,9 +332,6 @@ class Pman_Core_UpdateDatabase extends Pman
                 
                 if ($tbl && preg_match('#([\w]+)\s+(enum\([\w|\W]+\))#i',  $l, $m)) {
                     $extra[] = "CREATE TYPE {$tbl}_{$m[1]}_enum AS {$m[2]};";
-                }
-                if ($tbl && preg_match('#enum\([\w|\W]+\)#i',  $l, $m)) {
-                    
                 }
                 continue;