PHP7 compatibility fixes.
[fa-stable.git] / applications / setup.php
index 99fa48d52b9278a59808eeec49d96d28039274ec..5f29aff11f8cac3a00e861c1972a800e67525857 100644 (file)
@@ -11,9 +11,9 @@
 ***********************************************************************/
 class setup_app extends application
 {
-       function setup_app()
+       function __construct()
        {
-               $this->application("system", _($this->help_context = "S&etup"));
+               parent::__construct("system", _($this->help_context = "S&etup"));
 
                $this->add_module(_("Company Setup"));
                $this->add_lapp_function(0, _("&Company Setup"),