Update of /cvsroot/aimmath/moodle/mod/math_assignment/db
In directory sc8-pr-cvs1:/tmp/cvs-serv8087/mod/math_assignment/db
Modified Files:
mysql.php mysql.sql
Log Message:
Added further code for the sending of emails about grades
Index: mysql.php
===================================================================
RCS file: /cvsroot/aimmath/moodle/mod/math_assignment/db/mysql.php,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** mysql.php 25 Sep 2003 15:02:23 -0000 1.11
--- mysql.php 25 Sep 2003 22:14:09 -0000 1.12
***************
*** 23,26 ****
--- 23,30 ----
execute_sql("ALTER TABLE `{$CFG->prefix}math_assignment` ADD `papersheetsreturned` tinyint(1) NOT NULL default '0' AFTER `solutionsisurl`");
}
+ if ($oldversion < 2003092523) {
+ set_config("math_assignment_default_email_host", "");
+ set_config("math_assignment_secretary_email", "");
+ }
return true;
Index: mysql.sql
===================================================================
RCS file: /cvsroot/aimmath/moodle/mod/math_assignment/db/mysql.sql,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** mysql.sql 25 Sep 2003 15:02:23 -0000 1.10
--- mysql.sql 25 Sep 2003 22:14:09 -0000 1.11
***************
*** 59,60 ****
--- 59,62 ----
INSERT `prefix_config` SET `name`="math_assignment_default_latex_output",`value`="0";
INSERT `prefix_config` SET `name`="math_assignment_aim_display", `value`="1";
+ INSERT `prefix_config` SET `name`="math_assignment_default_email_host", `value`="";
+ INSERT `prefix_config` SET `name`="math_assignment_secretary_email", `value`="";
|