diff options
| author | Tristan Darricau <github@nicofuma.fr> | 2017-06-06 09:33:22 +0200 |
|---|---|---|
| committer | Tristan Darricau <github@nicofuma.fr> | 2017-06-06 09:33:22 +0200 |
| commit | 1571c76ccd870bce9527a3c02c0c1a88e0e3b9ed (patch) | |
| tree | ad77bf8483acd06ef0d41e543fea7ed780029c33 /phpBB/phpbb/db/migration/data/v31x | |
| parent | 34fb146ab5c5e5c52541a5c8191043a94bfa0cd1 (diff) | |
| parent | 77d73678a1399f142aab4b7893962654541a171e (diff) | |
| download | forums-1571c76ccd870bce9527a3c02c0c1a88e0e3b9ed.tar forums-1571c76ccd870bce9527a3c02c0c1a88e0e3b9ed.tar.gz forums-1571c76ccd870bce9527a3c02c0c1a88e0e3b9ed.tar.bz2 forums-1571c76ccd870bce9527a3c02c0c1a88e0e3b9ed.tar.xz forums-1571c76ccd870bce9527a3c02c0c1a88e0e3b9ed.zip | |
Merge pull request #4826 from marc1706/ticket/15219-rhea
[ticket/15219] Update hashes to bcrypt with cron -- Rhea
* github.com:phpbb/phpbb:
[ticket/15219] Add console command for updating hashes to bcrypt
[ticket/15219] Add missing space
[ticket/15219] Update hashes to bcrypt with cron
Diffstat (limited to 'phpBB/phpbb/db/migration/data/v31x')
| -rw-r--r-- | phpBB/phpbb/db/migration/data/v31x/update_hashes.php | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/phpBB/phpbb/db/migration/data/v31x/update_hashes.php b/phpBB/phpbb/db/migration/data/v31x/update_hashes.php new file mode 100644 index 0000000000..aa83c3ffbf --- /dev/null +++ b/phpBB/phpbb/db/migration/data/v31x/update_hashes.php @@ -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\v31x; + +class update_hashes extends \phpbb\db\migration\migration +{ + static public function depends_on() + { + return array( + '\phpbb\db\migration\data\v31x\v3110', + ); + } + + public function update_data() + { + return array( + array('config.add', array('enable_update_hashes', '1')), + array('config.add', array('update_hashes_lock', '')), + array('config.add', array('update_hashes_last_cron', '0')) + ); + } +} |
