diff options
| author | Joas Schilling <nickvergessen@gmx.de> | 2015-01-20 23:27:54 +0100 |
|---|---|---|
| committer | Joas Schilling <nickvergessen@gmx.de> | 2015-01-20 23:27:54 +0100 |
| commit | a5fae1b1f09358f8a24ff32fc5192395cd314244 (patch) | |
| tree | e4944e89871808f1ada2df59e8cf815d3d2203ec /phpBB/phpbb/db/migration/data/v30x | |
| parent | d0e5c0a1871c37bfea780cc525e996749b13a0ee (diff) | |
| parent | dab07283573689fcc6eb2c4e270ac37c3a573959 (diff) | |
| download | forums-a5fae1b1f09358f8a24ff32fc5192395cd314244.tar forums-a5fae1b1f09358f8a24ff32fc5192395cd314244.tar.gz forums-a5fae1b1f09358f8a24ff32fc5192395cd314244.tar.bz2 forums-a5fae1b1f09358f8a24ff32fc5192395cd314244.tar.xz forums-a5fae1b1f09358f8a24ff32fc5192395cd314244.zip | |
Merge pull request #3293 from Nicofuma/ticket/13489
[ticket/13489] Disable the event dispatcher in the migrator
Diffstat (limited to 'phpBB/phpbb/db/migration/data/v30x')
| -rw-r--r-- | phpBB/phpbb/db/migration/data/v30x/release_3_0_5_rc1.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/phpBB/phpbb/db/migration/data/v30x/release_3_0_5_rc1.php b/phpBB/phpbb/db/migration/data/v30x/release_3_0_5_rc1.php index 2cc7786046..c3e887841f 100644 --- a/phpBB/phpbb/db/migration/data/v30x/release_3_0_5_rc1.php +++ b/phpBB/phpbb/db/migration/data/v30x/release_3_0_5_rc1.php @@ -13,7 +13,9 @@ namespace phpbb\db\migration\data\v30x; -class release_3_0_5_rc1 extends \phpbb\db\migration\migration +use phpbb\db\migration\container_aware_migration; + +class release_3_0_5_rc1 extends container_aware_migration { public function effectively_installed() { @@ -55,9 +57,7 @@ class release_3_0_5_rc1 extends \phpbb\db\migration\migration public function hash_old_passwords() { - global $phpbb_container; - - $passwords_manager = $phpbb_container->get('passwords.manager'); + $passwords_manager = $this->container->get('passwords.manager'); $sql = 'SELECT user_id, user_password FROM ' . $this->table_prefix . 'users WHERE user_pass_convert = 1'; |
