1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-16 13:44:12 +02:00

[ticket/16777] Remove remainders of max image size

PHPBB-16777
This commit is contained in:
Marc Alexander
2024-08-09 21:14:53 +02:00
parent c64055509f
commit 28e217aa84
9 changed files with 34 additions and 18 deletions

View File

@@ -91,8 +91,6 @@ interface parser_interface
* Set a variable to be used by the parser
*
* - max_font_size
* - max_img_height
* - max_img_width
* - max_smilies
* - max_urls
*

View File

@@ -355,8 +355,6 @@ class factory implements \phpbb\textformatter\cache_interface
// Register some vars with a default value. Those should be set at runtime by whatever calls
// the parser
$configurator->registeredVars['max_font_size'] = 0;
$configurator->registeredVars['max_img_height'] = 0;
$configurator->registeredVars['max_img_width'] = 0;
// Load the Emoji plugin and modify its tag's template to obey viewsmilies
$tag = $configurator->Emoji->getTag();