Changes:
- if a <addon>_module() function is empty, it is more a statement and not a real function
This commit is contained in:
parent
e895b55f6d
commit
3ab46781b1
21 changed files with 259 additions and 198 deletions
|
@ -24,15 +24,14 @@ function ifttt_install()
|
|||
Hook::register('connector_settings_post', 'addon/ifttt/ifttt.php', 'ifttt_settings_post');
|
||||
}
|
||||
|
||||
function ifttt_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 ifttt_module() {}
|
||||
|
||||
}
|
||||
|
||||
function ifttt_content()
|
||||
{
|
||||
|
||||
}
|
||||
function ifttt_content() {}
|
||||
|
||||
function ifttt_settings(App $a, array &$data)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue