plugin settings were getting changed

This commit is contained in:
Friendika 2011-01-05 13:10:47 -08:00
parent b358e8afe2
commit 95ec0767d8
3 changed files with 14 additions and 8 deletions

View file

@ -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");