This commit is contained in:
Dan Poltawski
2015-10-13 11:39:52 +01:00
+1
View File
@@ -142,6 +142,7 @@ class core_webservice_external extends external_api {
if (is_readable($versionpath)) {
// We store the component version once retrieved (so we don't load twice the version.php).
if (!isset($componentversions[$function->component])) {
$plugin = new stdClass();
include($versionpath);
$componentversions[$function->component] = $plugin->version;
$version = $plugin->version;