diff options
author | rvelices <rv-github@modusoptimus.com> | 2010-12-23 05:22:19 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2010-12-23 05:22:19 +0000 |
commit | 732eb6bfba05cd1969fb5898e5bc50c978b2ff0b (patch) | |
tree | b22ddf13d45e1515f81c7406f7248d68b62df238 /include/common.inc.php | |
parent | 2a49b76ae10cb7bcef5145f3a96151e0d62848a9 (diff) |
removed unused files / code / css; shorter code
git-svn-id: http://piwigo.org/svn/trunk@8247 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/common.inc.php')
-rw-r--r-- | include/common.inc.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/common.inc.php b/include/common.inc.php index 061c7246a..c898ec546 100644 --- a/include/common.inc.php +++ b/include/common.inc.php @@ -233,8 +233,7 @@ if ( !$conf['allow_html_descriptions'] ) { add_event_handler('render_category_description', 'nl2br'); } -add_event_handler('render_comment_content', 'htmlspecialchars'); -add_event_handler('render_comment_content', 'parse_comment_content'); +add_event_handler('render_comment_content', 'render_comment_content'); add_event_handler('render_comment_author', 'strip_tags'); add_event_handler('blockmanager_register_blocks', 'register_default_menubar_blocks', EVENT_HANDLER_PRIORITY_NEUTRAL-1); trigger_action('init'); |