removed references to /requested(teachers?|students?)name/ and 'showsiteparticipantslist' - we are now using only default names stored in langpacks for backwards compatibility

This commit is contained in:
skodak
2006-09-18 11:21:24 +00:00
parent 102d890c14
commit dca1937c02
6 changed files with 18 additions and 17 deletions
+8
View File
@@ -1816,6 +1816,14 @@ function main_upgrade($oldversion=0) {
table_column('course','','defaultrole','integer','10', 'unsigned', '0', 'not null');
}
if ($oldversion < 2006091800) {
delete_records('config', 'name', 'showsiteparticipantslist');
delete_records('config', 'name', 'requestedteachername');
delete_records('config', 'name', 'requestedteachersname');
delete_records('config', 'name', 'requestedstudentname');
delete_records('config', 'name', 'requestedstudentsname');
}
return $result;
}