PHP7 compatibility fixes.
[fa-stable.git] / sql / alter2.2.php
index 837f44cefc69a52918f6da2cb6a2ecc1e287d877..db6b3aecec026d7a87d51dbffda900541030a116 100644 (file)
@@ -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');