Adding theme fields for courses, users and groups

This commit is contained in:
moodler
2005-02-10 07:46:20 +00:00
parent 16fd89aa23
commit 915602ea79
5 changed files with 20 additions and 3 deletions
+6
View File
@@ -911,6 +911,12 @@ function main_upgrade($oldversion=0) {
fix_course_sortorder(0, 1, 1);
}
if ($oldversion < 2005021000) { // New fields for theme choices
table_column('course', '', 'theme', 'varchar', '50', '', '', '', 'lang');
table_column('groups', '', 'theme', 'varchar', '50', '', '', '', 'lang');
table_column('user', '', 'theme', 'varchar', '50', '', '', '', 'lang');
}
return $result;
}