[system] / trunk / wwmoodle / wwassignment4 / moodle / mod / wwassignment / db / upgrade.php Repository:
ViewVC logotype

Diff of /trunk/wwmoodle/wwassignment4/moodle/mod/wwassignment/db/upgrade.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 5882 Revision 5883
1<?php //$Id: upgrade.php,v 1.4 2008-08-24 01:27:57 gage Exp $ 1<?php //$Id: upgrade.php,v 1.5 2008-08-24 03:03:32 gage Exp $
2 2
3// This file keeps track of upgrades to 3// This file keeps track of upgrades to
4// the assignment module 4// the assignment module
5// 5//
6// Sometimes, changes between versions involve 6// Sometimes, changes between versions involve
58 /// Launch add field timemodified to wwassignment_bridge 58 /// Launch add field timemodified to wwassignment_bridge
59 $result = $result && add_field($table, $field); 59 $result = $result && add_field($table, $field);
60 60
61 61
62 /// Define field timemodified to be added to wwassignment 62 /// Define field timemodified to be added to wwassignment
63 $table = new XMLDBTable('wwassignment_bridge'); 63// $table = new XMLDBTable('wwassignment_bridge');
64 $field = new XMLDBField('timemodified'); 64// $field = new XMLDBField('timemodified');
65 $field->setAttributes(XMLDB_TYPE_INTEGER, '10', XMLDB_UNSIGNED, XMLDB_NOTNULL, null, null, null, '0', 'webwork_course'); 65// $field->setAttributes(XMLDB_TYPE_INTEGER, '10', XMLDB_UNSIGNED, XMLDB_NOTNULL, null, null, null, '0', 'webwork_course');
66 66//
67 /// Launch add field timemodified to wwassignment_bridge 67// /// Launch add field timemodified to wwassignment_bridge
68 $result = $result && add_field($table, $field); 68// $result = $result && add_field($table, $field);
69 69
70 70
71 //notify('Processing assignment grades, this may take a while if there are many assignments...', 'notifysuccess'); 71 //notify('Processing assignment grades, this may take a while if there are many assignments...', 'notifysuccess');
72 // change grade typo to text if no grades MDL-13920 72 // change grade typo to text if no grades MDL-13920
73 //require_once $CFG->dirroot.'/mod/wwassignment/lib.php'; 73 //require_once $CFG->dirroot.'/mod/wwassignment/lib.php';

Legend:
Removed from v.5882  
changed lines
  Added in v.5883

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9