From 953d8ccb546997bb0201cc60e118dd4b80b38c3c Mon Sep 17 00:00:00 2001 From: Friendika Date: Wed, 23 Feb 2011 19:09:49 -0800 Subject: [PATCH] added hook but forgot to register --- addon/statusnet/statusnet.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/addon/statusnet/statusnet.php b/addon/statusnet/statusnet.php index e595ad7b53..5455186224 100644 --- a/addon/statusnet/statusnet.php +++ b/addon/statusnet/statusnet.php @@ -53,6 +53,8 @@ function statusnet_install() { register_hook('plugin_settings', 'addon/statusnet/statusnet.php', 'statusnet_settings'); register_hook('plugin_settings_post', 'addon/statusnet/statusnet.php', 'statusnet_settings_post'); register_hook('post_local_end', 'addon/statusnet/statusnet.php', 'statusnet_post_hook'); + register_hook('jot_networks', 'addon/statusnet/statusnet.php', 'statusnet_jot_nets'); + logger("installed statusnet"); } @@ -61,6 +63,7 @@ function statusnet_uninstall() { unregister_hook('plugin_settings', 'addon/statusnet/statusnet.php', 'statusnet_settings'); unregister_hook('plugin_settings_post', 'addon/statusnet/statusnet.php', 'statusnet_settings_post'); unregister_hook('post_local_end', 'addon/statusnet/statusnet.php', 'statusnet_post_hook'); + unregister_hook('jot_networks', 'addon/statusnet/statusnet.php', 'statusnet_jot_nets'); } function statusnet_jot_nets(&$a,&$b) {