|
|
|
|
@ -326,7 +326,7 @@ class ImportCsv |
|
|
|
|
*/ |
|
|
|
|
private function importTeachers($file, $moveFile = true) |
|
|
|
|
{ |
|
|
|
|
$data = Import::csv_to_array($file); |
|
|
|
|
$data = Import::csvToArray($file); |
|
|
|
|
|
|
|
|
|
/* Unique identifier: official-code username. |
|
|
|
|
Email address and password should never get updated. *ok |
|
|
|
|
@ -461,7 +461,7 @@ class ImportCsv |
|
|
|
|
*/ |
|
|
|
|
private function importStudents($file, $moveFile = true) |
|
|
|
|
{ |
|
|
|
|
$data = Import::csv_to_array($file); |
|
|
|
|
$data = Import::csvToArray($file); |
|
|
|
|
|
|
|
|
|
/* |
|
|
|
|
* Another users import. |
|
|
|
|
@ -647,7 +647,7 @@ class ImportCsv |
|
|
|
|
*/ |
|
|
|
|
private function importCalendarStatic($file, $moveFile = true) |
|
|
|
|
{ |
|
|
|
|
$data = Import::csv_to_array($file); |
|
|
|
|
$data = Import::csvToArray($file); |
|
|
|
|
|
|
|
|
|
if ($this->getDumpValues()) { |
|
|
|
|
// Remove all calendar items |
|
|
|
|
@ -892,7 +892,7 @@ class ImportCsv |
|
|
|
|
*/ |
|
|
|
|
private function importCourses($file, $moveFile = true) |
|
|
|
|
{ |
|
|
|
|
$data = Import::csv_to_array($file); |
|
|
|
|
$data = Import::csvToArray($file); |
|
|
|
|
|
|
|
|
|
if (!empty($data)) { |
|
|
|
|
$this->logger->addInfo(count($data)." records found."); |
|
|
|
|
|