Sophie

Sophie

distrib > Mageia > 5 > i586 > by-pkgid > d742beb7d2162e7cc9b52c7853fef15c > files > 3

moodle-2.8.6-1.mga5.src.rpm

diff -up moodle/filter/mathjaxloader/db/upgrade.php.oldjax moodle/filter/mathjaxloader/db/upgrade.php
--- moodle/filter/mathjaxloader/db/upgrade.php.oldjax	2015-05-05 12:28:47.000000000 +0200
+++ moodle/filter/mathjaxloader/db/upgrade.php	2015-05-08 16:20:02.286777496 +0200
@@ -38,7 +38,7 @@ function xmldb_filter_mathjaxloader_upgr
 
         $sslcdnurl = get_config('filter_mathjaxloader', 'httpsurl');
         if ($sslcdnurl === "https://c328740.ssl.cf1.rackcdn.com/mathjax/2.3-latest/MathJax.js") {
-            set_config('httpsurl', 'https://cdn.mathjax.org/mathjax/2.3-latest/MathJax.js', 'filter_mathjaxloader');
+            set_config('httpsurl', 'https://cdn.mathjax.org/mathjax/2.5-latest/MathJax.js', 'filter_mathjaxloader');
         }
 
         upgrade_plugin_savepoint(true, 2014081100, 'filter', 'mathjaxloader');
diff -up moodle/filter/mathjaxloader/settings.php.oldjax moodle/filter/mathjaxloader/settings.php
--- moodle/filter/mathjaxloader/settings.php.oldjax	2015-05-05 12:28:47.000000000 +0200
+++ moodle/filter/mathjaxloader/settings.php	2015-05-08 16:13:11.092094866 +0200
@@ -33,14 +33,14 @@ if ($ADMIN->fulltree) {
     $item = new admin_setting_configtext('filter_mathjaxloader/httpurl',
                                          new lang_string('httpurl', 'filter_mathjaxloader'),
                                          new lang_string('httpurl_help', 'filter_mathjaxloader'),
-                                         'http://cdn.mathjax.org/mathjax/2.3-latest/MathJax.js',
+                                         'http://cdn.mathjax.org/mathjax/2.5-latest/MathJax.js',
                                          PARAM_RAW);
     $settings->add($item);
 
     $item = new admin_setting_configtext('filter_mathjaxloader/httpsurl',
                                          new lang_string('httpsurl', 'filter_mathjaxloader'),
                                          new lang_string('httpsurl_help', 'filter_mathjaxloader'),
-                                         'https://cdn.mathjax.org/mathjax/2.3-latest/MathJax.js',
+                                         'https://cdn.mathjax.org/mathjax/2.5-latest/MathJax.js',
                                          PARAM_RAW);
     $settings->add($item);
 
diff -up moodle/filter/mathjaxloader/upgrade.txt.oldjax moodle/filter/mathjaxloader/upgrade.txt
--- moodle/filter/mathjaxloader/upgrade.txt.oldjax	2015-05-05 12:28:47.000000000 +0200
+++ moodle/filter/mathjaxloader/upgrade.txt	2015-05-08 16:20:25.617610576 +0200
@@ -4,4 +4,4 @@ https://c328740.ssl.cf1.rackcdn.com/math
 
 to:
 
-https://cdn.mathjax.org/mathjax/2.3-latest/MathJax.js
+https://cdn.mathjax.org/mathjax/2.5-latest/MathJax.js