aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorOleg Pudeyev <oleg@bsdpower.com>2012-05-10 05:06:00 -0400
committerOleg Pudeyev <oleg@bsdpower.com>2012-11-17 16:39:59 -0500
commitbd63b17d0030706e080188ab6bf3bdec8466ae82 (patch)
tree46d418709253cbccb3c11dc67620813ca16a3584 /phpBB/includes
parent1b36fc3a6074a661a1b32c015fb9931f3470c61c (diff)
downloadforums-bd63b17d0030706e080188ab6bf3bdec8466ae82.tar
forums-bd63b17d0030706e080188ab6bf3bdec8466ae82.tar.gz
forums-bd63b17d0030706e080188ab6bf3bdec8466ae82.tar.bz2
forums-bd63b17d0030706e080188ab6bf3bdec8466ae82.tar.xz
forums-bd63b17d0030706e080188ab6bf3bdec8466ae82.zip
[feature/template-events] Move comment to the function docblock.
PHPBB3-9550
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/template/filter.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/template/filter.php b/phpBB/includes/template/filter.php
index ed81c4cd8a..9f77c4a1b7 100644
--- a/phpBB/includes/template/filter.php
+++ b/phpBB/includes/template/filter.php
@@ -266,7 +266,9 @@ class phpbb_template_filter extends php_user_filter
}
/**
- * Callback for replacing matched tokens with PHP code
+ * Callback for replacing matched tokens with compiled template code.
+ *
+ * Compiled template code is an HTML stream with embedded PHP.
*
* @param array $matches Regular expression matches
* @return string compiled template code
@@ -355,8 +357,6 @@ class phpbb_template_filter extends php_user_filter
break;
case 'EVENT':
- // return value here will be compiled code (html with embedded php).
- // we don't want to wrap it in php tags here.
return '<?php ' . $this->compile_tag_event($matches[2]) . '?>';
break;