From 025779ac62c6e9ca8e6e5e7877c21ac70888c32c Mon Sep 17 00:00:00 2001 From: Matt Friedman Date: Tue, 1 Apr 2014 06:50:00 -0700 Subject: [PATCH] [ticket/12337] Fix jQuery update migration file PHPBB3-12337 --- phpBB/phpbb/db/migration/data/v310/jquery_update2.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/phpBB/phpbb/db/migration/data/v310/jquery_update2.php b/phpBB/phpbb/db/migration/data/v310/jquery_update2.php index 87d8c0d14d..46a115d8ad 100644 --- a/phpBB/phpbb/db/migration/data/v310/jquery_update2.php +++ b/phpBB/phpbb/db/migration/data/v310/jquery_update2.php @@ -3,7 +3,7 @@ * * @package migration * @copyright (c) 2014 phpBB Group -* @license http://opensource.org/licenses/gpl-license.php GNU Public License v2 +* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License v2 * */ @@ -11,6 +11,11 @@ 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(