From: Janusz Dobrowolski Date: Fri, 30 Jul 2010 08:39:48 +0000 (+0000) Subject: Fixing extension configurion file moved to installed() method. X-Git-Tag: v2.4.2~19^2~754 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=d2aa6078df9bb042c629a4d5130dd59696613bd6;p=fa-stable.git Fixing extension configurion file moved to installed() method. --- diff --git a/sql/alter2.3.php b/sql/alter2.3.php index 667181bf..c424bbe3 100644 --- a/sql/alter2.3.php +++ b/sql/alter2.3.php @@ -18,7 +18,6 @@ class fa2_3 { function fa2_3() { $this->description = _('Upgrade from version 2.2 to 2.3'); - $this->preconf = $this->fix_extensions(); } // @@ -99,6 +98,7 @@ class fa2_3 { // function pre_check($pref, $force) { + if ($this->beta && !$force) $this->sql = 'alter2.3rc.sql'; @@ -109,6 +109,7 @@ class fa2_3 { // function installed($pref) { $this->beta = !check_table($pref, 'suppliers', 'tax_included'); + $this->preconf = $this->fix_extensions(); $n = 1; // number of patches to be installed $patchcnt = 0;