X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sql%2Falter2.2.php;h=db6b3aecec026d7a87d51dbffda900541030a116;hb=7e6e0807990447d2977b970c3a0fd28dc9250194;hp=837f44cefc69a52918f6da2cb6a2ecc1e287d877;hpb=17b390efcf904072b02ec866b2a427490471a260;p=fa-stable.git diff --git a/sql/alter2.2.php b/sql/alter2.2.php index 837f44ce..db6b3aec 100644 --- a/sql/alter2.2.php +++ b/sql/alter2.2.php @@ -18,7 +18,7 @@ class fa2_2 extends fa_patch { var $preconf = true; var $beta = false; // upgrade from 2.1 or 2.2beta; set in prepare() - function fa2_2() { + function __construct() { global $security_groups; $this->beta = !isset($security_groups); $this->description = _('Upgrade from version 2.1/2.2beta to 2.2');