|
@ -328,9 +328,9 @@ class sessions { |
|
|
|
|
|
|
|
|
// Count of sessions added. |
|
|
// Count of sessions added. |
|
|
$okcount = 0; |
|
|
$okcount = 0; |
|
|
$groupids = array(); |
|
|
|
|
|
|
|
|
|
|
|
foreach ($this->sessions as $session) { |
|
|
foreach ($this->sessions as $session) { |
|
|
|
|
|
$groupids = array(); |
|
|
// Check course shortname matches. |
|
|
// Check course shortname matches. |
|
|
if ($DB->record_exists('course', array( |
|
|
if ($DB->record_exists('course', array( |
|
|
'shortname' => $session->course |
|
|
'shortname' => $session->course |
|
|