]> git.mxchange.org Git - friendica.git/commitdiff
added hook but forgot to register
authorFriendika <info@friendika.com>
Thu, 24 Feb 2011 03:09:49 +0000 (19:09 -0800)
committerFriendika <info@friendika.com>
Thu, 24 Feb 2011 03:09:49 +0000 (19:09 -0800)
addon/statusnet/statusnet.php

index e595ad7b534b83570d0f6a07e84e4f3ab308badd..54551862244c0f2888752e2ac8dc6a0f66d902eb 100644 (file)
@@ -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) {