aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/db/migration/data/v32x/jquery_update.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2018-12-22 17:31:30 +0100
committerMarc Alexander <admin@m-a-styles.de>2018-12-22 17:31:30 +0100
commit70a56c208fa5bcdde9337c871b30aaaf7e5602b8 (patch)
treec0fb49e28e52ec719fade6f7944554d0b4f09602 /phpBB/phpbb/db/migration/data/v32x/jquery_update.php
parent73fd2f357323bc3690ce15be23a54ef1896f87fa (diff)
parentb089116965c361b02106fb839877f33639982a42 (diff)
downloadforums-70a56c208fa5bcdde9337c871b30aaaf7e5602b8.tar
forums-70a56c208fa5bcdde9337c871b30aaaf7e5602b8.tar.gz
forums-70a56c208fa5bcdde9337c871b30aaaf7e5602b8.tar.bz2
forums-70a56c208fa5bcdde9337c871b30aaaf7e5602b8.tar.xz
forums-70a56c208fa5bcdde9337c871b30aaaf7e5602b8.zip
Merge branch 'prep-release-3.2.5' into 3.2.x
Diffstat (limited to 'phpBB/phpbb/db/migration/data/v32x/jquery_update.php')
-rw-r--r--phpBB/phpbb/db/migration/data/v32x/jquery_update.php37
1 files changed, 37 insertions, 0 deletions
diff --git a/phpBB/phpbb/db/migration/data/v32x/jquery_update.php b/phpBB/phpbb/db/migration/data/v32x/jquery_update.php
new file mode 100644
index 0000000000..6dc58ec638
--- /dev/null
+++ b/phpBB/phpbb/db/migration/data/v32x/jquery_update.php
@@ -0,0 +1,37 @@
+<?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 jquery_update extends \phpbb\db\migration\migration
+{
+ public function effectively_installed()
+ {
+ return $this->config['load_jquery_url'] === '//ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js';
+ }
+
+ static public function depends_on()
+ {
+ return array(
+ '\phpbb\db\migration\data\v32x\v325rc1',
+ );
+ }
+
+ public function update_data()
+ {
+ return array(
+ array('config.update', array('load_jquery_url', '//ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js')),
+ );
+ }
+
+}