diff options
author | Matt Friedman <maf675@gmail.com> | 2015-01-31 01:11:28 -0800 |
---|---|---|
committer | Matt Friedman <maf675@gmail.com> | 2015-01-31 01:11:28 -0800 |
commit | 9f4c2effe9a9b8a497a3f00dc8a6d71e745c7ea9 (patch) | |
tree | ba14acfc4c02bd52f4baa46c37dcca6dfb5e77ca /phpBB/phpbb/template/twig/extension.php | |
parent | 5b7d1f1b437a166b893413e1196a2a3da3b334fb (diff) | |
download | forums-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/extension.php')
-rw-r--r-- | phpBB/phpbb/template/twig/extension.php | 3 |
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'), ); } |