aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/template/twig
diff options
context:
space:
mode:
authorMatt Friedman <maf675@gmail.com>2015-01-31 01:11:28 -0800
committerMatt Friedman <maf675@gmail.com>2015-01-31 01:11:28 -0800
commit9f4c2effe9a9b8a497a3f00dc8a6d71e745c7ea9 (patch)
treeba14acfc4c02bd52f4baa46c37dcca6dfb5e77ca /phpBB/phpbb/template/twig
parent5b7d1f1b437a166b893413e1196a2a3da3b334fb (diff)
downloadforums-9f4c2effe9a9b8a497a3f00dc8a6d71e745c7ea9.tar
forums-9f4c2effe9a9b8a497a3f00dc8a6d71e745c7ea9.tar.gz
forums-9f4c2effe9a9b8a497a3f00dc8a6d71e745c7ea9.tar.bz2
forums-9f4c2effe9a9b8a497a3f00dc8a6d71e745c7ea9.tar.xz
forums-9f4c2effe9a9b8a497a3f00dc8a6d71e745c7ea9.zip
[ticket/10388] Update deprecation comment
PHPBB3-10388
Diffstat (limited to 'phpBB/phpbb/template/twig')
-rw-r--r--phpBB/phpbb/template/twig/extension.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/phpbb/template/twig/extension.php b/phpBB/phpbb/template/twig/extension.php
index c8c8be5142..14d1258c09 100644
--- a/phpBB/phpbb/template/twig/extension.php
+++ b/phpBB/phpbb/template/twig/extension.php
@@ -71,7 +71,8 @@ class extension extends \Twig_Extension
{
return array(
new \Twig_SimpleFilter('subset', array($this, 'loop_subset'), array('needs_environment' => true)),
- new \Twig_SimpleFilter('addslashes', 'addslashes'), // Deprecated 3.2.0
+ // @deprecated 3.2.0 Uses twig's JS escape method instead of addslashes
+ new \Twig_SimpleFilter('addslashes', 'addslashes'),
);
}