MDL-40220 use new core_component::normalize_component()

This commit is contained in:
Petr Škoda
2013-07-16 22:41:00 +02:00
parent 1c74b26090
commit 56da374e1e
17 changed files with 25 additions and 25 deletions
@@ -332,7 +332,7 @@ class tool_installaddon_validator {
if (isset($info[$type.'->component'])) {
$this->versionphp['component'] = $info[$type.'->component'];
list($reqtype, $reqname) = normalize_component($this->versionphp['component']);
list($reqtype, $reqname) = core_component::normalize_component($this->versionphp['component']);
if ($reqtype !== $this->assertions['plugintype']) {
$this->add_message(self::ERROR, 'componentmismatchtype', array(
'expected' => $this->assertions['plugintype'],