MDL-15095 towards restore lib dml conversion

This commit is contained in:
skodak 2008-06-03 23:35:50 +00:00
parent 9db7dab2ca
commit cd655b33f9
16 changed files with 207 additions and 238 deletions

View file

@ -3268,7 +3268,7 @@ define('RESTORE_GROUPS_GROUPINGS', 3);
//Now search if that group exists (by name and description field) in
//restore->course_id course
//Going to compare LOB columns so, use the cross-db sql_compare_text() in both sides.
//Going to compare LOB columns so, use the cross-db $DB->sql_compare_text() in both sides.
$description_clause = '';
$params = array('courseid'=>$restore->course_id, 'grname'=>$gro->name);
if (!empty($gro->description)) { /// Only for groups having a description