Update of /cvsroot/aimmath/moodle/mod/math_assignment/db
In directory sc8-pr-cvs1:/tmp/cvs-serv28957/mod/math_assignment/db
Modified Files:
mysql.php mysql.sql
Log Message:
Default value now set for math_assignment_teachers_choose_subject config option.
Index: mysql.php
===================================================================
RCS file: /cvsroot/aimmath/moodle/mod/math_assignment/db/mysql.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** mysql.php 18 Sep 2003 11:16:15 -0000 1.4
--- mysql.php 18 Sep 2003 11:26:24 -0000 1.5
***************
*** 16,19 ****
--- 16,20 ----
}
if ($oldversion < 2003091812) {
+ set_config("math_assignment_teachers_choose_subject", "1");
if (!execute_sql("ALTER TABLE `{$CFG->prefix}math_assignment` CHANGE `problemscompile` `problemsisurl` TINYINT(1) NOT NULL default '1' AFTER `problems`, CHANGE `solutionscompile` `solutionsisurl` TINYINT(1) NOT NULL default '1' AFTER `solutions`"))
$return = false;
Index: mysql.sql
===================================================================
RCS file: /cvsroot/aimmath/moodle/mod/math_assignment/db/mysql.sql,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** mysql.sql 18 Sep 2003 11:16:16 -0000 1.3
--- mysql.sql 18 Sep 2003 11:26:24 -0000 1.4
***************
*** 58,59 ****
--- 58,60 ----
INSERT `prefix_config` SET `name`="math_assignment_server_display", `value`="2";
INSERT `prefix_config` SET `name`="math_assignment_aim_display", `value`="1";
+ INSERT `prefix_config` SET `name`="math_assignment_teachers_choose_subject", `value`="1";
|