Allow for homonym sessions in migration - refs BT#4882

skala
Yannick Warnier 13 years ago
parent 34e8ba56c8
commit 81df1d9c76
  1. 2
      tests/migrate/migration.custom.class.php

@ -350,7 +350,7 @@ class MigrationCustom {
//Here the $data variable has $data['course_code'] that will be added when creating the session
// If session already exists, it will return the existing session id
$session_id = SessionManager::add($data);
$session_id = SessionManager::add($data, true);
//error_log('create_session');
if (!$session_id) {
error_log('Error: Failed to create_session '.$data['name']);

Loading…
Cancel
Save