1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-17 22:11:26 +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

@@ -0,0 +1,34 @@
<?php
/**
*
* This file is part of the phpBB Forum Software package.
*
* @copyright (c) phpBB Limited <https://www.phpbb.com>
* @license GNU General Public License, version 2 (GPL-2.0)
*
* For full copyright and license information, please see
* the docs/CREDITS.txt file.
*
*/
namespace phpbb\db\migration\data\v400;
use phpbb\db\migration\migration;
class remove_max_img_size extends migration
{
public static function depends_on(): array
{
return [
'\phpbb\db\migration\data\v400\dev',
];
}
public function update_data(): array
{
return [
['config.remove', ['max_sig_img_width']],
['config.remove', ['max_sig_img_height']],
];
}
}