Merge branch 'MDL-49587' of git://github.com/mike-grant/moodle

This commit is contained in:
David Monllao 2015-04-01 15:09:52 +08:00 committed by Eloy Lafuente (stronk7)
commit ee366cf907
2 changed files with 2 additions and 2 deletions

View File

@ -1102,7 +1102,7 @@ $cache = '.var_export($cache, true).';
$plugin = new stdClass();
$plugin->version = null;
$module = $plugin;
@include($fullplug.'/version.php');
include($fullplug.'/version.php');
$versions[$type.'_'.$plug] = $plugin->version;
}
}

View File

@ -291,7 +291,7 @@ class core_plugin_manager {
$plugin = new stdClass();
$plugin->version = null;
$module = $plugin;
@include($fullplug.'/version.php');
include($fullplug.'/version.php');
$this->presentplugins[$type][$plug] = $plugin;
}
}