Skip to content

Commit

Permalink
MDL-23071 Found some more in adminlib.php modulename -> pluginname
Browse files Browse the repository at this point in the history
  • Loading branch information
moodler committed Jul 5, 2010
1 parent e90debf commit 20e5f36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/adminlib.php
Expand Up @@ -4342,7 +4342,7 @@ public function load_choices() {

if ($plugins = get_plugin_list('gradeexport')) {
foreach($plugins as $plugin => $unused) {
$this->choices[$plugin] = get_string('modulename', 'gradeexport_'.$plugin);
$this->choices[$plugin] = get_string('pluginname', 'gradeexport_'.$plugin);
}
}
return true;
Expand Down Expand Up @@ -4514,7 +4514,7 @@ public function load_choices() {
require_once($plugindir.'/lib.php');
$functionname = 'grade_report_'.$plugin.'_profilereport';
if (function_exists($functionname)) {
$this->choices[$plugin] = get_string('modulename', 'gradereport_'.$plugin);
$this->choices[$plugin] = get_string('pluginname', 'gradereport_'.$plugin);
}
}
}
Expand Down

0 comments on commit 20e5f36

Please sign in to comment.