mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
a866538b9b
I added a destructor to csv_import_reader ensure the file is closed. I also ensured that the gradeimport_csv unit tests did not hold onto a reference to the csv_import_reader object while the phpunit framework tries to tidy up moodledata. Finally, to stop CiBoT complaining, I fixed up the PHP4-style declarations in the CSV import class.