Drop column queries executed also during not forced install upgrade.
[fa-stable.git] / admin / db / maintenance_db.inc
index a6d2ee80ce44c52819885421fe68912cec79cc11..cc555a8972adc0febbc2d2103847a2a0774991c0 100644 (file)
@@ -1,4 +1,3 @@
-<?php
 /**********************************************************************
     Copyright (C) FrontAccounting, LLC.
        Released under the terms of the GNU General Public License,
@@ -163,8 +162,6 @@ function db_import($filename, $connection, $force=true)
                                if (strtolower(substr($line, 0, strlen($cmd))) == $cmd) 
                                {
                                        $query_table = $table;
-                                       if (strstr(strtolower($line), ' drop column '))
-                                               $query_table = 'drop_queries';
                                        ${$query_table}[] = array('', $line_no+1);
                                        break;
                                }