Skip to content

Commit

Permalink
MDL-42924 Administration: use normalize_component to extract plugin n…
Browse files Browse the repository at this point in the history
…ame and type
  • Loading branch information
Rajesh Taneja committed Nov 19, 2013
1 parent 2b10fa0 commit 740d260
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/upgradelib.php
Expand Up @@ -1627,7 +1627,7 @@ function core_tables_exist() {
function upgrade_plugin_mnet_functions($component) {
global $DB, $CFG;

list($type, $plugin) = explode('_', $component);
list($type, $plugin) = core_component::normalize_component($component);
$path = core_component::get_plugin_directory($type, $plugin);

$publishes = array();
Expand Down

0 comments on commit 740d260

Please sign in to comment.