-
-function notimeline_install() {
-
- register_hook('plugin_settings', 'addon/notimeline/notimeline.php', 'notimeline_settings');
- register_hook('plugin_settings_post', 'addon/notimeline/notimeline.php', 'notimeline_settings_post');
-
-}
-
-
-function notimeline_uninstall() {
- unregister_hook('plugin_settings', 'addon/notimeline/notimeline.php', 'notimeline_settings');
- unregister_hook('plugin_settings_post', 'addon/notimeline/notimeline.php', 'notimeline_settings_post');
-
+function notimeline_install()
+{
+ Hook::register('addon_settings', 'addon/notimeline/notimeline.php', 'notimeline_settings');
+ Hook::register('addon_settings_post', 'addon/notimeline/notimeline.php', 'notimeline_settings_post');