- unregister_hook('post_local', 'addon/planets/planets.php', 'planets_post_hook');
- unregister_hook('plugin_settings', 'addon/planets/planets.php', 'planets_settings');
- unregister_hook('plugin_settings_post', 'addon/planets/planets.php', 'planets_settings_post');
+ Addon::unregisterHook('post_local', 'addon/planets/planets.php', 'planets_post_hook');
+ Addon::unregisterHook('addon_settings', 'addon/planets/planets.php', 'planets_settings');
+ Addon::unregisterHook('addon_settings_post', 'addon/planets/planets.php', 'planets_settings_post');