mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-06-07 09:54:27 +02:00
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,9 +24,12 @@ function impressum_install()
|
|||
Logger::notice("installed impressum Addon");
|
||||
}
|
||||
|
||||
function impressum_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 impressum_module() {}
|
||||
|
||||
function impressum_content()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue