MDL-11966 implemented dategraded and datesubmitted, tweaked altering of grades depending in hidden grades

MDL-11974 improved gradebook CSS
This commit is contained in:
skodak
2007-11-01 08:25:05 +00:00
parent 32d651c853
commit ced5ee5921
17 changed files with 240 additions and 111 deletions
-4
View File
@@ -199,8 +199,6 @@ class grade_object {
function update($source=null) {
global $USER;
$this->timemodified = time();
$data = $this->get_record_data();
if (!update_record($this->table, addslashes_recursive($data))) {
@@ -283,8 +281,6 @@ class grade_object {
return false;
}
$this->timecreated = $this->timemodified = time();
$data = $this->get_record_data();
if (!$this->id = insert_record($this->table, addslashes_recursive($data))) {