aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/db
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2017-05-05 21:08:13 -0400
committerMarc Alexander <admin@m-a-styles.de>2017-05-05 21:08:13 -0400
commit710a943b005dd82fe2ca667a28e18587688c8337 (patch)
tree538bad523259831a80907c8f56568b02a1ebbbfc /phpBB/phpbb/db
parent877760ef9805be8b431c2fe43ef6ab38c07ec02d (diff)
parent18fe3b28330a234ef8a2c1a244b61ec2af1bb294 (diff)
downloadforums-710a943b005dd82fe2ca667a28e18587688c8337.tar
forums-710a943b005dd82fe2ca667a28e18587688c8337.tar.gz
forums-710a943b005dd82fe2ca667a28e18587688c8337.tar.bz2
forums-710a943b005dd82fe2ca667a28e18587688c8337.tar.xz
forums-710a943b005dd82fe2ca667a28e18587688c8337.zip
Merge branch 'ticket/15219' into ticket/15219-rhea
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'))
+ );
+ }
+}