MDL-38158 core_media: bump upgrade / version and fix filter test

This commit is contained in:
Eloy Lafuente (stronk7) 2016-11-04 17:14:24 +01:00
parent 6e29346609
commit b23b9a5b38
3 changed files with 5 additions and 4 deletions

View File

@ -34,8 +34,9 @@ class filter_mediaplugin_testcase extends advanced_testcase {
function test_filter_mediaplugin_link() {
$this->resetAfterTest(true);
// we need to enable the plugins somehow
// we need to enable the plugins somehow and the flash fallback.
\core\plugininfo\media::set_enabled_plugins('vimeo,youtube,videojs,html5video,swf,html5audio');
set_config('useflash', true, 'media_videojs');
$filterplugin = new filter_mediaplugin(null, array());

View File

@ -2322,7 +2322,7 @@ function xmldb_main_upgrade($oldversion) {
upgrade_main_savepoint(true, 2016110300.00);
}
if ($oldversion < 2016110400.01) {
if ($oldversion < 2016110500.00) {
$oldplayers = [
'vimeo' => null,
@ -2389,7 +2389,7 @@ function xmldb_main_upgrade($oldversion) {
}
// Savepoint reached.
upgrade_main_savepoint(true, 2016110400.01);
upgrade_main_savepoint(true, 2016110500.00);
}
return true;

View File

@ -29,7 +29,7 @@
defined('MOODLE_INTERNAL') || die();
$version = 2016110400.01; // YYYYMMDD = weekly release date of this DEV branch.
$version = 2016110500.00; // YYYYMMDD = weekly release date of this DEV branch.
// RR = release increments - 00 in DEV branches.
// .XX = incremental changes.