]> git.mxchange.org Git - friendica-addons.git/blobdiff - smiley_pack/smiley_pack.php
[various] Remove App dependency from hook functions
[friendica-addons.git] / smiley_pack / smiley_pack.php
index d457ea8cd5edf22bb2966e28295d19185c3c57b1..7892eac4619ae9dbd1333194087dfd060f00c496 100644 (file)
@@ -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.