Fixed copy/paste typo. MDL-11341 ;-) ; merged from 19_STABLE

This commit is contained in:
stronk7
2008-01-11 17:21:53 +00:00
parent e67eff89e6
commit efcc5e0f3d
+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'));