]> git.mxchange.org Git - friendica-addons.git/blobdiff - qcomment/qcomment.php
Update function names
[friendica-addons.git] / qcomment / qcomment.php
index 2e1783c09b5e32dd59d777dbbe573bfb2b268241..447f8abf1d9f4d8a3526b713c5e32cd7593cbd9f 100644 (file)
@@ -9,7 +9,7 @@
  * 
  * Provides a set of text "snippets" which can be inserted into a comment window by clicking on them.
  * First enable the addon in the system admin panel. 
- * Then each person can tailor their choice of words in Settings->Plugin Settings in the Qcomment 
+ * Then each person can tailor their choice of words in Settings->Addon Settings in the Qcomment 
  * pane. Initially no qcomments are provided, but on viewing the settings page, a default set of
  * of words is suggested. These can be accepted (click Submit) or edited first. Each text line represents 
  * a different qcomment. 
@@ -23,15 +23,15 @@ use Friendica\Core\Addon;
 use Friendica\Core\PConfig;
 
 function qcomment_install() {
-       Addon::registerHook('plugin_settings', 'addon/qcomment/qcomment.php', 'qcomment_addon_settings');
-       Addon::registerHook('plugin_settings_post', 'addon/qcomment/qcomment.php', 'qcomment_addon_settings_post');
+       Addon::registerHook('addon_settings', 'addon/qcomment/qcomment.php', 'qcomment_addon_settings');
+       Addon::registerHook('addon_settings_post', 'addon/qcomment/qcomment.php', 'qcomment_addon_settings_post');
 
 }
 
 
 function qcomment_uninstall() {
-       Addon::unregisterHook('plugin_settings', 'addon/qcomment/qcomment.php', 'qcomment_addon_settings');
-       Addon::unregisterHook('plugin_settings_post', 'addon/qcomment/qcomment.php', 'qcomment_addon_settings_post');
+       Addon::unregisterHook('addon_settings', 'addon/qcomment/qcomment.php', 'qcomment_addon_settings');
+       Addon::unregisterHook('addon_settings_post', 'addon/qcomment/qcomment.php', 'qcomment_addon_settings_post');
 
 }