Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…ame and type
  • Loading branch information...
commit 183c7cb3f58f0a66aa0142d8856894ff59f50d20 1 parent 9f887be
@rajeshtaneja rajeshtaneja authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/upgradelib.php
View
2  lib/upgradelib.php
@@ -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();
Please sign in to comment.
Something went wrong with that request. Please try again.