X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sql%2Falter2.2.php;fp=sql%2Falter2.2.php;h=db6b3aecec026d7a87d51dbffda900541030a116;hb=8b9b2d78cd89f090b486e749396cb5eabd693527;hp=837f44cefc69a52918f6da2cb6a2ecc1e287d877;hpb=e6c89f21df1c1d6742a7e335e6e0fc2c958a7a29;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');