- unregister_hook('post_local', 'addon/randplace/randplace.php', 'randplace_post_hook');
- unregister_hook('plugin_settings', 'addon/randplace/randplace.php', 'randplace_settings');
- unregister_hook('plugin_settings_post', 'addon/randplace/randplace.php', 'randplace_settings_post');
+ Addon::unregisterHook('post_local', 'addon/randplace/randplace.php', 'randplace_post_hook');
+ Addon::unregisterHook('addon_settings', 'addon/randplace/randplace.php', 'randplace_settings');
+ Addon::unregisterHook('addon_settings_post', 'addon/randplace/randplace.php', 'randplace_settings_post');