aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Friedman <maf675@gmail.com>2014-04-01 06:50:00 -0700
committerMatt Friedman <maf675@gmail.com>2014-04-01 06:50:00 -0700
commit025779ac62c6e9ca8e6e5e7877c21ac70888c32c (patch)
treec009f218928b7be985e75eec502a0c203cb024bc
parent2b77dcfca6c0cb208237fc64f775cb1f4c3ea0d4 (diff)
downloadforums-025779ac62c6e9ca8e6e5e7877c21ac70888c32c.tar
forums-025779ac62c6e9ca8e6e5e7877c21ac70888c32c.tar.gz
forums-025779ac62c6e9ca8e6e5e7877c21ac70888c32c.tar.bz2
forums-025779ac62c6e9ca8e6e5e7877c21ac70888c32c.tar.xz
forums-025779ac62c6e9ca8e6e5e7877c21ac70888c32c.zip
[ticket/12337] Fix jQuery update migration file
PHPBB3-12337
-rw-r--r--phpBB/phpbb/db/migration/data/v310/jquery_update2.php7
1 files changed, 6 insertions, 1 deletions
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(