X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=smilies_adult%2Fsmilies_adult.php;h=b55a0a2feb768594dd8fefcec04bf63bb8f4b74d;hb=1c7b3124429d83082223253b0f3b6d95d1f5dfcb;hp=c0095923ecc2320c0beef133eaf7bea7b36b88d3;hpb=c27b1cb66fd0877da0947edfdad1a62dfaf41888;p=friendica-addons.git
diff --git a/smilies_adult/smilies_adult.php b/smilies_adult/smilies_adult.php
index c0095923..b55a0a2f 100644
--- a/smilies_adult/smilies_adult.php
+++ b/smilies_adult/smilies_adult.php
@@ -9,35 +9,30 @@
*
*/
use Friendica\Core\Hook;
+use Friendica\DI;
function smilies_adult_install() {
Hook::register('smilie', 'addon/smilies_adult/smilies_adult.php', 'smilies_adult_smilies');
}
-function smilies_adult_uninstall() {
- Hook::unregister('smilie', 'addon/smilies_adult/smilies_adult.php', 'smilies_adult_smilies');
-}
-
-
-
function smilies_adult_smilies(&$a,&$b) {
$b['texts'][] = '(o)(o)';
- $b['icons'][] = '
';
+ $b['icons'][] = '
';
$b['texts'][] = '(.)(.)';
- $b['icons'][] = '
';
+ $b['icons'][] = '
';
$b['texts'][] = ':bong';
- $b['icons'][] = '
';
+ $b['icons'][] = '
';
$b['texts'][] = ':sperm';
- $b['icons'][] = '
';
+ $b['icons'][] = '
';
$b['texts'][] = ':drunk';
- $b['icons'][] = '
';
+ $b['icons'][] = '
';
$b['texts'][] = ':finger';
- $b['icons'][] = '
';
+ $b['icons'][] = '
';
}
\ No newline at end of file