mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
Merge branch 'MDL-44214-master' of git://github.com/andrewnicols/moodle
This commit is contained in:
commit
f08c69aba2
@ -1225,8 +1225,13 @@ class page_requirements_manager {
|
||||
$format = '-debug';
|
||||
}
|
||||
|
||||
$rollupversion = $CFG->yui3version;
|
||||
if (!empty($CFG->yuipatchlevel)) {
|
||||
$rollupversion .= '_' . $CFG->yuipatchlevel;
|
||||
}
|
||||
|
||||
$baserollups = array(
|
||||
'rollup/' . $CFG->yui3version . "/yui-moodlesimple{$yuiformat}.js",
|
||||
'rollup/' . $rollupversion . "/yui-moodlesimple{$yuiformat}.js",
|
||||
'rollup/' . $jsrev . "/mcore{$format}.js",
|
||||
);
|
||||
|
||||
|
@ -83,7 +83,8 @@ while (count($parts)) {
|
||||
|
||||
$version = array_shift($bits);
|
||||
if ($version === 'rollup') {
|
||||
$revision = array_shift($bits);
|
||||
$yuipatchedversion = explode('_', array_shift($bits));
|
||||
$revision = $yuipatchedversion[0];
|
||||
$rollupname = array_shift($bits);
|
||||
|
||||
if (strpos($rollupname, 'yui-moodlesimple') !== false) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user