Commit 0b468c59 authored by Mike Grant's avatar Mike Grant
Browse files

MDL-49587 plugin: Stop silencing include errors

Stop silencing errors when including version.php
parent 20d38830
......@@ -1101,7 +1101,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;
}
}
......
......@@ -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;
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment