[security/229] Adjust effectively_installed on jquery update migration

SECURITY-229
This commit is contained in:
Marc Alexander 2018-12-13 21:22:58 +01:00
parent 179c6067be
commit 37b33e6b67
No known key found for this signature in database
GPG key ID: 50E0D2423696F995

View file

@ -17,7 +17,7 @@ class jquery_update extends \phpbb\db\migration\migration
{ {
public function effectively_installed() public function effectively_installed()
{ {
return $this->config['load_jquery_url'] !== '//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js'; return $this->config['load_jquery_url'] === '//ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js';
} }
static public function depends_on() static public function depends_on()