mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-06-07 09:54:27 +02:00
[various] Remove App dependency from hook functions
This commit is contained in:
parent
b53914ee11
commit
39c654da00
87 changed files with 419 additions and 451 deletions
|
@ -16,7 +16,7 @@ function morepokes_install()
|
|||
Hook::register('poke_verbs', 'addon/morepokes/morepokes.php', 'morepokes_poke_verbs');
|
||||
}
|
||||
|
||||
function morepokes_poke_verbs(App $a, array &$b)
|
||||
function morepokes_poke_verbs(array &$b)
|
||||
{
|
||||
$b['bitchslap'] = ['bitchslapped', DI::l10n()->t('bitchslap'), DI::l10n()->t('bitchslapped')];
|
||||
$b['shag'] = ['shag', DI::l10n()->t('shag'), DI::l10n()->t('shagged')];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue