1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 00:37:42 +02:00

[ticket/15769] Remove template var for cropping available

Avatar cropping should always be available.

PHPBB3-15769
This commit is contained in:
Marc Alexander
2021-08-23 19:35:59 +02:00
parent 30b058d633
commit dd7d1cb521
3 changed files with 121 additions and 126 deletions

View File

@@ -107,7 +107,6 @@ class upload extends \phpbb\avatar\driver\driver
$template->assign_vars([
'AVATAR_ALLOWED_EXTENSIONS' => implode(',', preg_replace('/^/', '.', $this->allowed_extensions)),
'AVATAR_UPLOAD_SIZE' => $this->config['avatar_filesize'],
'S_CROPPING_AVAILABLE' => true,
'T_ASSETS_PATH' => $web_path . '/assets',
]);