- register_hook('page_header', 'addon/mathjax/mathjax.php', 'mathjax_page_header');
- register_hook('plugin_settings', 'addon/mathjax/mathjax.php', 'mathjax_settings');
- register_hook('plugin_settings_post', 'addon/mathjax/mathjax.php', 'mathjax_settings_post');
- logger('installed js_math plugin');
+ Addon::registerHook('page_header', 'addon/mathjax/mathjax.php', 'mathjax_page_header');
+ Addon::registerHook('addon_settings', 'addon/mathjax/mathjax.php', 'mathjax_settings');
+ Addon::registerHook('addon_settings_post', 'addon/mathjax/mathjax.php', 'mathjax_settings_post');
+ logger('installed js_math addon');