diff options
| author | Tristan Darricau <github@nicofuma.fr> | 2015-01-14 12:32:47 +0100 |
|---|---|---|
| committer | Tristan Darricau <github@nicofuma.fr> | 2015-01-20 14:19:55 +0100 |
| commit | dab07283573689fcc6eb2c4e270ac37c3a573959 (patch) | |
| tree | 0aceb458119ef338356daf0e5d9f25838214bb6b /phpBB/phpbb/db/migration/data/v310 | |
| parent | ce47170c29f4bd7b6a9a4dc74f95be5b4241872d (diff) | |
| download | forums-dab07283573689fcc6eb2c4e270ac37c3a573959.tar forums-dab07283573689fcc6eb2c4e270ac37c3a573959.tar.gz forums-dab07283573689fcc6eb2c4e270ac37c3a573959.tar.bz2 forums-dab07283573689fcc6eb2c4e270ac37c3a573959.tar.xz forums-dab07283573689fcc6eb2c4e270ac37c3a573959.zip | |
[ticket/13489] Fix service configuration
PHPBB3-13489
Diffstat (limited to 'phpBB/phpbb/db/migration/data/v310')
| -rw-r--r-- | phpBB/phpbb/db/migration/data/v310/soft_delete_mod_convert.php | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/phpBB/phpbb/db/migration/data/v310/soft_delete_mod_convert.php b/phpBB/phpbb/db/migration/data/v310/soft_delete_mod_convert.php index c21b75b881..85b90da5fa 100644 --- a/phpBB/phpbb/db/migration/data/v310/soft_delete_mod_convert.php +++ b/phpBB/phpbb/db/migration/data/v310/soft_delete_mod_convert.php @@ -13,21 +13,15 @@ namespace phpbb\db\migration\data\v310; -use Symfony\Component\DependencyInjection\ContainerAwareInterface; -use Symfony\Component\DependencyInjection\ContainerInterface; +use phpbb\db\migration\container_aware_migration; /** * Migration to convert the Soft Delete MOD for 3.0 * * https://www.phpbb.com/customise/db/mod/soft_delete/ */ -class soft_delete_mod_convert extends \phpbb\db\migration\migration implements ContainerAwareInterface +class soft_delete_mod_convert extends container_aware_migration { - /** - * @var ContainerInterface - */ - protected $container; - static public function depends_on() { return array( @@ -130,12 +124,4 @@ class soft_delete_mod_convert extends \phpbb\db\migration\migration implements C { return $this->container->get('content.visibility'); } - - /** - * {@inheritdoc} - */ - public function setContainer(ContainerInterface $container = null) - { - $this->container = $container; - } } |
