mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
Latest change of function name solved !
This commit is contained in:
parent
86f00bcf98
commit
4544d0727f
@ -135,7 +135,7 @@
|
||||
$quiz_cat->parent = backup_todb($info['QUESTION_CATEGORY']['#']['PARENT']['0']['#']);
|
||||
$quiz_cat->sortorder = backup_todb($info['QUESTION_CATEGORY']['#']['SORTORDER']['0']['#']);
|
||||
|
||||
if ($catfound = restore_get_best_category($quiz_cat, $restore->course)) {
|
||||
if ($catfound = restore_get_best_quiz_category($quiz_cat, $restore->course)) {
|
||||
$newid = $catfound;
|
||||
} else {
|
||||
if (!$quiz_cat->stamp) {
|
||||
|
@ -121,7 +121,7 @@
|
||||
$quiz_cat->parent = backup_todb($info['QUESTION_CATEGORY']['#']['PARENT']['0']['#']);
|
||||
$quiz_cat->sortorder = backup_todb($info['QUESTION_CATEGORY']['#']['SORTORDER']['0']['#']);
|
||||
|
||||
if ($catfound = restore_get_best_category($quiz_cat, $restore->course)) {
|
||||
if ($catfound = restore_get_best_quiz_category($quiz_cat, $restore->course)) {
|
||||
$newid = $catfound;
|
||||
} else {
|
||||
if (!$quiz_cat->stamp) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user