mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 08:47:45 +02:00
[ticket/15769] Remove template var for cropping available
Avatar cropping should always be available. PHPBB3-15769
This commit is contained in:
@@ -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',
|
||||
]);
|
||||
|
||||
|
Reference in New Issue
Block a user