public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/forums:origin/3.2.x commit in: phpBB/phpbb/db/migration/data/v32x/
@ 2019-05-04  5:20 Jimi Huotari
  0 siblings, 0 replies; only message in thread
From: Jimi Huotari @ 2019-05-04  5:20 UTC (permalink / raw
  To: gentoo-commits

commit:     bec047586a09ec0bf4a8214edb66c452e2489851
Author:     Marc Alexander <admin <AT> m-a-styles <DOT> de>
AuthorDate: Sat Apr 27 12:41:50 2019 +0000
Commit:     Jimi Huotari <chiitoo <AT> gentoo <DOT> org>
CommitDate: Sat Apr 27 12:41:50 2019 +0000
URL:        https://gitweb.gentoo.org/proj/forums.git/commit/?id=bec04758

[prep-release-3.2.6] Add migration to 3.2.6

 phpBB/phpbb/db/migration/data/v32x/v326.php | 39 +++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/phpBB/phpbb/db/migration/data/v32x/v326.php b/phpBB/phpbb/db/migration/data/v32x/v326.php
new file mode 100644
index 000000000..2d511b9ed
--- /dev/null
+++ b/phpBB/phpbb/db/migration/data/v32x/v326.php
@@ -0,0 +1,39 @@
+<?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\v32x;
+
+class v326 extends \phpbb\db\migration\migration
+{
+	public function effectively_installed()
+	{
+		return phpbb_version_compare($this->config['version'], '3.2.6', '>=');
+	}
+
+	static public function depends_on()
+	{
+		return array(
+			'\phpbb\db\migration\data\v32x\v326rc1',
+			'\phpbb\db\migration\data\v32x\disable_remote_avatar',
+			'\phpbb\db\migration\data\v32x\smtp_dynamic_data',
+		);
+
+	}
+
+	public function update_data()
+	{
+		return array(
+			array('config.update', array('version', '3.2.6')),
+		);
+	}
+}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-05-04  5:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-04  5:20 [gentoo-commits] proj/forums:origin/3.2.x commit in: phpBB/phpbb/db/migration/data/v32x/ Jimi Huotari

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox