fix: Instantiate HVAC Settings class to register admin menu

This commit is contained in:
bengizmo 2025-05-19 14:49:18 -03:00
parent 06df5c93f0
commit 0817dab7e8

View file

@ -122,6 +122,9 @@ class HVAC_Community_Events {
// Initialize roles // Initialize roles
$this->init_roles(); $this->init_roles();
// Initialize settings (admin menu)
$this->init_settings();
// Initialize forms // Initialize forms
$this->init_forms(); $this->init_forms();
@ -141,6 +144,13 @@ class HVAC_Community_Events {
$roles = new HVAC_Roles(); $roles = new HVAC_Roles();
// Note: Role creation is handled in the activate method or the class constructor // Note: Role creation is handled in the activate method or the class constructor
} }
/**
* Initialize settings
*/
private function init_settings() {
new HVAC_Settings();
}
/** /**
* Initialize forms * Initialize forms