Fix error string

This commit is contained in:
moodler 2006-08-14 06:03:30 +00:00
parent 0468976c9a
commit f2e21e6c03
2 changed files with 3 additions and 3 deletions

View File

@ -339,9 +339,8 @@
$context = get_context_instance(CONTEXT_SYSTEM, SITEID);
if (!has_capability('moodle/site:config', $context)) {
print_error("permissionconfig", '', "$CFG->wwwroot/login/index.php");
}
require_capability('moodle/site:config', $context);
/// Check if we are returning from moodle.org registration and if so, we mark that fact to remove reminders

View File

@ -42,6 +42,7 @@ $string['mustbeteacher'] = 'You must be a teacher to look at this page';
$string['noinstances'] = 'There are no instances of $a in this course! ';
$string['nonmeaningfulcontent'] = 'Non meaningful content';
$string['noparticipatorycms'] = 'Sorry, but you have no participatory course modules to report on.';
$string['nopermissions'] = 'Sorry, but you do not currently have permissions to do that ($a)';
$string['notavailable'] = 'That is not currently available';
$string['onlyeditown'] = 'You can only edit your own information';
$string['onlyeditingteachers'] = 'Only editing teachers can do that.';