mirror of
https://github.com/friendica/friendica
synced 2024-12-23 19:20:17 +00:00
added hook but forgot to register
This commit is contained in:
parent
834439b730
commit
953d8ccb54
1 changed files with 3 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue