Fixed copy/paste typo. MDL-11341 ;-)

This commit is contained in:
stronk7
2008-01-11 17:20:31 +00:00
parent 99f36270c0
commit 9040c8d4e9
+2 -2
View File
@@ -2,9 +2,9 @@
// This file defines settingpages and externalpages under the "appearance" category
if ($hassiteconfig
if ($hassiteconfig
or has_capability('moodle/site:langeditmaster', $systemcontext)
or has_capability('moodle/site:langeditmaster', $systemcontext)) { // speedup for non-admins, add all caps used on this page
or has_capability('moodle/site:langeditlocal', $systemcontext)) { // speedup for non-admins, add all caps used on this page
// "languageandlocation" settingpage
$temp = new admin_settingpage('langsettings', get_string('languagesettings', 'admin'));