Skip to content

Commit

Permalink
MDL-24479 fixed invalid strings, patch by Jenny Gray
Browse files Browse the repository at this point in the history
  • Loading branch information
skodak committed Oct 26, 2010
1 parent 1c7a2f8 commit 5bda2d6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions rating/rate.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@

if (!confirm_sesskey() || $USER->id==$rateduserid) {
echo $OUTPUT->header();
echo get_string('ratepermissiondenied', 'ratings');
echo get_string('ratepermissiondenied', 'rating');
echo $OUTPUT->footer();
die();
}
Expand All @@ -69,7 +69,7 @@

if (!$pluginrateallowed || !has_capability('moodle/rating:rate',$context)) {
echo $OUTPUT->header();
echo get_string('ratepermissiondenied', 'ratings');
echo get_string('ratepermissiondenied', 'rating');
echo $OUTPUT->footer();
die();
}
Expand Down
4 changes: 2 additions & 2 deletions rating/rate_ajax.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@

if (!confirm_sesskey() || $USER->id==$rateduserid) {
echo $OUTPUT->header();
echo get_string('ratepermissiondenied', 'ratings');
echo get_string('ratepermissiondenied', 'rating');
echo $OUTPUT->footer();
die();
}
Expand All @@ -78,7 +78,7 @@
}

if (!$pluginrateallowed || !has_capability('moodle/rating:rate',$context)) {
$result->error = get_string('ratepermissiondenied', 'ratings');
$result->error = get_string('ratepermissiondenied', 'rating');
echo json_encode($result);
die();
}
Expand Down

0 comments on commit 5bda2d6

Please sign in to comment.