MDL-46171 assign: Peer review cleanups
commitc154b1f93d97363f9aa0492bdebe832f089cbb32
authorDamyon Wiese <damyon@moodle.com>
Wed, 10 Sep 2014 05:46:31 +0000 (10 13:46 +0800)
committerDamyon Wiese <damyon@moodle.com>
Wed, 24 Sep 2014 07:07:36 +0000 (24 15:07 +0800)
treed2ce3fb01c55e5f977985c5dd52186eebbaf2aba
parent9e3eee671f75e3c582cd01863bea963e780ecf9a
MDL-46171 assign: Peer review cleanups

* Remove hardcoded table names
* Remove some code that was left in after debugging
* Add some comments about grades with no submission
* Set submission->latest to 0 on restore (it will get fixed later)
* Changed get_records_sql to get_recordset_sql in restore.
mod/assign/backup/moodle2/restore_assign_stepslib.php
mod/assign/db/upgrade.php
mod/assign/tests/externallib_test.php