1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-24 09:30:34 +01:00

[ticket/15689] Remove format_bytes filter from twig

PHPBB3-15689
This commit is contained in:
Rubén Calvo 2018-07-09 15:36:30 +02:00
parent 0fed1054db
commit 50af5409a6

View File

@ -73,7 +73,6 @@ class extension extends \Twig_Extension
new \Twig_SimpleFilter('subset', array($this, 'loop_subset'), array('needs_environment' => true)),
// @deprecated 3.2.0 Uses twig's JS escape method instead of addslashes
new \Twig_SimpleFilter('addslashes', 'addslashes'),
new \Twig_SimpleFilter('format_bytes', 'get_formatted_filesize'),
);
}