From ba0e9281f8703e400d02db1602d6547fea5e80bd Mon Sep 17 00:00:00 2001 From: Dan Marsden Date: Tue, 9 Jan 2018 12:01:10 +1300 Subject: [PATCH] Remove repeat fields - not implemented yet. --- classes/import/sessions.php | 38 ++++++++++++++----------------------- 1 file changed, 14 insertions(+), 24 deletions(-) diff --git a/classes/import/sessions.php b/classes/import/sessions.php index 1a40cf1..3ea6eaf 100644 --- a/classes/import/sessions.php +++ b/classes/import/sessions.php @@ -122,16 +122,13 @@ class sessions { 'from' => $data->header3, 'to' => $data->header4, 'description' => $data->header5, - 'repeaton' => $data->header6, - 'repeatevery' => $data->header7, - 'repeatuntil' => $data->header8, - 'studentscanmark' => $data->header9, - 'passwordgrp' => $data->header10, - 'randompassword' => $data->header11, - 'subnet' => $data->header12, - 'automark' => $data->header13, - 'autoassignstatus' => $data->header14, - 'absenteereport' => $data->header15 + 'studentscanmark' => $data->header6, + 'passwordgrp' => $data->header7, + 'randompassword' => $data->header8, + 'subnet' => $data->header9, + 'automark' => $data->header10, + 'autoassignstatus' => $data->header11, + 'absenteereport' => $data->header12 ); } else { return array( @@ -141,16 +138,13 @@ class sessions { 'from' => 3, 'to' => 4, 'description' => 5, - 'repeaton' => 6, - 'repeatevery' => 7, - 'repeatuntil' => 8, - 'studentscanmark' => 9, - 'passwordgrp' => 10, - 'randompassword' => 11, - 'subnet' => 12, - 'automark' => 13, - 'autoassignstatus' => 14, - 'absenteereport' => 15 + 'studentscanmark' => 6, + 'passwordgrp' => 7, + 'randompassword' => 8, + 'subnet' => 9, + 'automark' => 10, + 'autoassignstatus' => 11, + 'absenteereport' => 12 ); } } @@ -279,10 +273,6 @@ class sessions { $session->sdescription['text'] = '

' . $this->get_column_data($row, $mapping['description']) . '

'; $session->sdescription['format'] = FORMAT_HTML; $session->sdescription['itemid'] = 0; - - $session->repeaton = $this->get_column_data($row, $mapping['repeaton']); - $session->repeatevery = $this->get_column_data($row, $mapping['repeatevery']); - $session->repeatuntil = $this->get_column_data($row, $mapping['repeatuntil']); $session->passwordgrp = $this->get_column_data($row, $mapping['passwordgrp']); $session->subnet = $this->get_column_data($row, $mapping['subnet']); // Set session subnet restriction. Use the default activity level subnet if there isn't one set for this session.