MDL-10365 removing userid - not used in grade_grades_text
This commit is contained in:
@@ -1744,7 +1744,6 @@
|
||||
fwrite ($bf,full_tag("TIMEMODIFIED",7,false,$ch->timemodified));
|
||||
fwrite ($bf,full_tag("LOGGEDUSER",7,false,$ch->loggeduser));
|
||||
fwrite ($bf,full_tag("GRADEID",7,false,$ch->gradeid));
|
||||
fwrite ($bf,full_tag("USERID",7,false,$ch->userid));
|
||||
fwrite ($bf,full_tag("INFORMATION",7,false,$ch->information));
|
||||
fwrite ($bf,full_tag("INFORMATIONFORMAT",7,false,$ch->informationformat));
|
||||
fwrite ($bf,full_tag("FEEDBACK",7,false,$ch->feedback));
|
||||
|
||||
@@ -1857,7 +1857,6 @@
|
||||
continue; // grade not being restore, possibly because grade item is not restored
|
||||
}
|
||||
$oldobj = backup_getid($restore->backup_unique_code,"user", backup_todb($info['GRADE_TEXT_HISTORY']['#']['USERID']['0']['#']));
|
||||
$dbrec->userid = $oldobj->new_id;
|
||||
$dbrec->information = backup_todb($info['GRADE_TEXT_HISTORY']['#']['INFORMATION']['0']['#']);
|
||||
$dbrec->informationformat = backup_todb($info['GRADE_TEXT_HISTORY']['#']['INFORMATIONFORMAT']['0']['#']);
|
||||
$dbrec->feedback = backup_todb($info['GRADE_TEXT_HISTORY']['#']['FEEDBACK']['0']['#']);
|
||||
|
||||
Reference in New Issue
Block a user