aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/db
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2017-06-06 09:32:45 +0200
committerTristan Darricau <github@nicofuma.fr>2017-06-06 09:32:45 +0200
commit2a49420124498be26c678e976f9d17ab73928ca9 (patch)
tree6f83a63f877116013aee7eca52742ffb9a763b66 /phpBB/phpbb/db
parent05a8baffdbb8bcca05ab927b11f687de99ac7ea9 (diff)
parent170613848ad86cea1f140ed1cfdb55d581324ffb (diff)
downloadforums-2a49420124498be26c678e976f9d17ab73928ca9.tar
forums-2a49420124498be26c678e976f9d17ab73928ca9.tar.gz
forums-2a49420124498be26c678e976f9d17ab73928ca9.tar.bz2
forums-2a49420124498be26c678e976f9d17ab73928ca9.tar.xz
forums-2a49420124498be26c678e976f9d17ab73928ca9.zip
Merge pull request #4825 from marc1706/ticket/15219
[ticket/15219] Update hashes to bcrypt with cron * 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')
-rw-r--r--phpBB/phpbb/db/migration/data/v31x/update_hashes.php33
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'))
+ );
+ }
+}