X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=addon%2Frandplace%2Frandplace.php;h=d7ea65c9d23e0b2083b2c38bf50f25d6afdf301c;hb=a05b2b4cc741eea54451b9af2a9728be6bc1ac8e;hp=2f0ff038b622a9ab72b383441bf3cde3da4e6145;hpb=fd9b506c2f19750bdea532b63c6ff28424ec5a7b;p=friendica.git diff --git a/addon/randplace/randplace.php b/addon/randplace/randplace.php index 2f0ff038b6..d7ea65c9d2 100644 --- a/addon/randplace/randplace.php +++ b/addon/randplace/randplace.php @@ -43,7 +43,7 @@ function randplace_install() { */ register_hook('plugin_settings', 'addon/randplace/randplace.php', 'randplace_settings'); - register_hook('settings_post', 'addon/randplace/randplace.php', 'randplace_settings_post'); + register_hook('plugin_settings_post', 'addon/randplace/randplace.php', 'randplace_settings_post'); logger("installed randplace"); } @@ -61,7 +61,7 @@ function randplace_uninstall() { unregister_hook('post_local', 'addon/randplace/randplace.php', 'randplace_post_hook'); unregister_hook('plugin_settings', 'addon/randplace/randplace.php', 'randplace_settings'); - unregister_hook('settings_post', 'addon/randplace/randplace.php', 'randplace_settings_post'); + unregister_hook('plugin_settings_post', 'addon/randplace/randplace.php', 'randplace_settings_post'); logger("removed randplace");