]> git.mxchange.org Git - friendica-addons.git/commitdiff
Hook prepare_body now have a priority of 10, it is runned before showmore
authorDomovoy <domovoy@errlock.org>
Mon, 23 Jul 2012 13:48:00 +0000 (15:48 +0200)
committerDomovoy <domovoy@errlock.org>
Mon, 23 Jul 2012 13:48:00 +0000 (15:48 +0200)
nsfw/nsfw.php

index 4a65b72089994063e8cde0c67ef3edb34faf8759..60ab458139eb8583a5ca0247fb5e36f03453d993 100755 (executable)
@@ -10,7 +10,7 @@
  */
 
 function nsfw_install() {
-       register_hook('prepare_body', 'addon/nsfw/nsfw.php', 'nsfw_prepare_body');
+       register_hook('prepare_body', 'addon/nsfw/nsfw.php', 'nsfw_prepare_body', 10);
        register_hook('plugin_settings', 'addon/nsfw/nsfw.php', 'nsfw_addon_settings');
        register_hook('plugin_settings_post', 'addon/nsfw/nsfw.php', 'nsfw_addon_settings_post');