fix: Instantiate HVAC Settings class to register admin menu
This commit is contained in:
parent
06df5c93f0
commit
0817dab7e8
1 changed files with 10 additions and 0 deletions
|
|
@ -122,6 +122,9 @@ class HVAC_Community_Events {
|
|||
// Initialize roles
|
||||
$this->init_roles();
|
||||
|
||||
// Initialize settings (admin menu)
|
||||
$this->init_settings();
|
||||
|
||||
// Initialize forms
|
||||
$this->init_forms();
|
||||
|
||||
|
|
@ -142,6 +145,13 @@ class HVAC_Community_Events {
|
|||
// Note: Role creation is handled in the activate method or the class constructor
|
||||
}
|
||||
|
||||
/**
|
||||
* Initialize settings
|
||||
*/
|
||||
private function init_settings() {
|
||||
new HVAC_Settings();
|
||||
}
|
||||
|
||||
/**
|
||||
* Initialize forms
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue