diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2014-04-03 16:02:57 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2014-04-03 16:02:57 +0200 |
commit | d88929210acde66ce37e9b29edbf467abe8779df (patch) | |
tree | 0ca5bf475ad790a58720c80d3563b809bc80a94a /phpBB/phpbb | |
parent | 0dbbf7fbbe39e7448b80b9d3217aeaf3d5239781 (diff) | |
parent | 025779ac62c6e9ca8e6e5e7877c21ac70888c32c (diff) | |
download | forums-d88929210acde66ce37e9b29edbf467abe8779df.tar forums-d88929210acde66ce37e9b29edbf467abe8779df.tar.gz forums-d88929210acde66ce37e9b29edbf467abe8779df.tar.bz2 forums-d88929210acde66ce37e9b29edbf467abe8779df.tar.xz forums-d88929210acde66ce37e9b29edbf467abe8779df.zip |
Merge remote-tracking branch 'vsephpbb/ticket/12337' into develop-ascraeus
* vsephpbb/ticket/12337:
[ticket/12337] Fix jQuery update migration file
[ticket/12337] Update jQuery to version 1.11.0
Diffstat (limited to 'phpBB/phpbb')
-rw-r--r-- | phpBB/phpbb/db/migration/data/v310/jquery_update2.php | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/phpBB/phpbb/db/migration/data/v310/jquery_update2.php b/phpBB/phpbb/db/migration/data/v310/jquery_update2.php new file mode 100644 index 0000000000..46a115d8ad --- /dev/null +++ b/phpBB/phpbb/db/migration/data/v310/jquery_update2.php @@ -0,0 +1,33 @@ +<?php +/** +* +* @package migration +* @copyright (c) 2014 phpBB Group +* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License v2 +* +*/ + +namespace phpbb\db\migration\data\v310; + +class jquery_update2 extends \phpbb\db\migration\migration +{ + public function effectively_installed() + { + return $this->config['load_jquery_url'] !== '//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js'; + } + + static public function depends_on() + { + return array( + '\phpbb\db\migration\data\v310\jquery_update', + ); + } + + public function update_data() + { + return array( + array('config.update', array('load_jquery_url', '//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js')), + ); + } + +} |