New files from unstable branch
[fa-stable.git] / sql / alter2.1.php
index fae78321cf033afef1f53f61c4ca41eac340fd47..ff9467a292f4fa1e3446f3008e5cfa7a3c3d3335 100644 (file)
@@ -150,9 +150,9 @@ class fa2_1 {
        //      Test if patch was applied before.
        //
        function installed($pref) {
-               $n = 5; // number of features to be installed
+               $n = 4; // number of features to be installed
                if (!check_table($pref, 'item_codes')) $n--;
-               if (!check_table($pref, 'company', 'foreign_codes')) $n--;
+//             if (!check_table($pref, 'company', 'foreign_codes')) $n--;
                if (!check_table($pref, 'suppliers', 'credit_limit')) $n--;
                if (!check_table($pref, 'bank_trans', 'reconciled', 
                        array('Type'=>'date'))) $n--;