- if a <addon>_module() function is empty, it is more a statement and not a
  real function
This commit is contained in:
Roland Häder 2022-06-24 23:27:58 +02:00
parent e895b55f6d
commit 3ab46781b1
No known key found for this signature in database
GPG key ID: C82EDE5DDFA0BA77
21 changed files with 259 additions and 198 deletions

View file

@ -25,10 +25,17 @@ function forumdirectory_install()
Hook::register('app_menu', 'addon/forumdirectory/forumdirectory.php', 'forumdirectory_app_menu');
}
function forumdirectory_module()
{
return;
}
/**
* This is a statement rather than an actual function definition. The simple
* existence of this method is checked to figure out if the addon offers a
* module.
*/
/**
* This is a statement rather than an actual function definition. The simple
* existence of this method is checked to figure out if the addon offers a
* module.
*/
function forumdirectory_module() {}
function forumdirectory_app_menu(App $a, array &$b)
{