1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-27 10:14:47 +02:00

[ticket/13489] Fix service configuration

PHPBB3-13489
This commit is contained in:
Tristan Darricau
2015-01-14 12:32:47 +01:00
parent ce47170c29
commit dab0728357
6 changed files with 45 additions and 50 deletions

View File

@@ -13,10 +13,7 @@
namespace phpbb\db\migration;
use Symfony\Component\DependencyInjection\ContainerAwareInterface;
use Symfony\Component\DependencyInjection\ContainerInterface;
abstract class profilefield_base_migration extends \phpbb\db\migration\migration implements ContainerAwareInterface
abstract class profilefield_base_migration extends container_aware_migration
{
protected $profilefield_name;
@@ -43,11 +40,6 @@ abstract class profilefield_base_migration extends \phpbb\db\migration\migration
protected $user_column_name;
/**
* @var ContainerInterface
*/
protected $container;
public function effectively_installed()
{
return $this->db_tools->sql_column_exists($this->table_prefix . 'profile_fields_data', 'pf_' . $this->profilefield_name);
@@ -251,12 +243,4 @@ abstract class profilefield_base_migration extends \phpbb\db\migration\migration
return $profile_row;
}
/**
* {@inheritdoc}
*/
public function setContainer(ContainerInterface $container = null)
{
$this->container = $container;
}
}