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
|
@ -15,7 +15,7 @@ function smiley_pack_es_install() {
|
|||
Hook::register('smilie', 'addon/smiley_pack_es/smiley_pack_es.php', 'smiley_pack_smilies_es');
|
||||
}
|
||||
|
||||
function smiley_pack_smilies_es(App $a, array &$b) {
|
||||
function smiley_pack_smilies_es(array &$b) {
|
||||
|
||||
#Smileys are split into various directories by the intended range of emotions. This is in case we get too big and need to modularise things. We can then cut and paste the right lines, move the right directory, and just change the name of the addon to happy_smilies or whatever.
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ function smiley_pack_fr_install()
|
|||
Hook::register('smilie', 'addon/smiley_pack_fr/smiley_pack_fr.php', 'smiley_pack_fr_smilies');
|
||||
}
|
||||
|
||||
function smiley_pack_fr_smilies(App $a, array &$b)
|
||||
function smiley_pack_fr_smilies(array &$b)
|
||||
{
|
||||
|
||||
#Smileys are split into various directories by the intended range of emotions. This is in case we get too big and need to modularise things. We can then cut and paste the right lines, move the right directory, and just change the name of the addon to happy_smilies or whatever.
|
||||
|
|
|
@ -16,7 +16,7 @@ function smiley_pack_install() {
|
|||
Hook::register('smilie', 'addon/smiley_pack/smiley_pack.php', 'smiley_pack_smilies');
|
||||
}
|
||||
|
||||
function smiley_pack_smilies(App $a, array &$b)
|
||||
function smiley_pack_smilies(array &$b)
|
||||
{
|
||||
#Smileys are split into various directories by the intended range of emotions. This is in case we get too big and need to modularise things. We can then cut and paste the right lines, move the right directory, and just change the name of the addon to happy_smilies or whatever.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue