Permalink
Browse files

MDL-42924 Administration: use normalize_component to extract plugin n…

…ame and type
  • Loading branch information...
1 parent 9f887be commit 183c7cb3f58f0a66aa0142d8856894ff59f50d20 Rajesh Taneja committed Nov 19, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/upgradelib.php
View
@@ -1580,7 +1580,7 @@ function core_tables_exist() {
function upgrade_plugin_mnet_functions($component) {
global $DB, $CFG;
- list($type, $plugin) = explode('_', $component);
+ list($type, $plugin) = normalize_component($component);
$path = get_plugin_directory($type, $plugin);
$publishes = array();

0 comments on commit 183c7cb

Please sign in to comment.