PHP7 compatibility fixes.
[fa-stable.git] / includes / prefs / sysprefs.inc
index cce4769c563fcf3cfc80a58a65090ffe24e8af69..34e52bccb706a0d7355096ab7a288c87efbf31fe 100644 (file)
@@ -21,7 +21,7 @@ class sys_prefs
        var $prefs;
        var $db_ok; // check whether database has been upgraded after src update.
 
-       function sys_prefs()
+       function __construct()
        {
                global $path_to_root;