1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-11 03:04:09 +02:00

Merge pull request #6197 from rubencm/ticket/16764

[ticket/16764] Remove unused services
This commit is contained in:
Marc Alexander
2021-04-28 10:07:15 +02:00
committed by GitHub
16 changed files with 34 additions and 838 deletions

View File

@@ -20,7 +20,6 @@ class avatar_types extends \phpbb\db\migration\migration
*/
protected $avatar_type_map = array(
AVATAR_UPLOAD => 'avatar.driver.upload',
AVATAR_REMOTE => 'avatar.driver.remote',
AVATAR_GALLERY => 'avatar.driver.local',
);

View File

@@ -0,0 +1,33 @@
<?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\container_aware_migration;
class remove_remote_upload extends container_aware_migration
{
public static function depends_on()
{
return [
'\phpbb\db\migration\data\v320\remote_upload_validation'
];
}
public function update_data()
{
return [
['config.remove', ['remote_upload_verify']],
];
}
}