Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
MDL-58114 plugin manager: Fix exception parameters
  • Loading branch information
mudrd8mz committed Mar 1, 2017
1 parent 0f59b6d commit 0355e76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/classes/plugin_manager.php
Expand Up @@ -1955,7 +1955,7 @@ public function remove_plugin_folder(\core\plugininfo\base $plugin) {

if (!$this->is_plugin_folder_removable($plugin->component)) {
throw new moodle_exception('err_removing_unremovable_folder', 'core_plugin', '',
array('plugin' => $pluginfo->component, 'rootdir' => $pluginfo->rootdir),
array('plugin' => $plugin->component, 'rootdir' => $plugin->rootdir),
'plugin root folder is not removable as expected');
}

Expand Down

0 comments on commit 0355e76

Please sign in to comment.