From 32dc9a45d620ae6061ddfbb13e6e49b788cd8dbd Mon Sep 17 00:00:00 2001 From: Mark Nelson Date: Tue, 27 Jun 2017 11:19:26 +0800 Subject: [PATCH] MDL-56046 dataformat: minor changes to PHPDocs and upgrade.txt --- dataformat/json/classes/writer.php | 2 +- dataformat/upgrade.txt | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dataformat/json/classes/writer.php b/dataformat/json/classes/writer.php index fe741a6ae93..8e3cfbad1df 100644 --- a/dataformat/json/classes/writer.php +++ b/dataformat/json/classes/writer.php @@ -41,7 +41,7 @@ class writer extends \core\dataformat\base { /** @var $extension */ public $extension = ".json"; - /** @var $hasstarted */ + /** @var $sheetstarted */ public $sheetstarted = false; /** @var $sheetdatadded */ diff --git a/dataformat/upgrade.txt b/dataformat/upgrade.txt index 2bb06d7921a..eb5ceb01ec1 100644 --- a/dataformat/upgrade.txt +++ b/dataformat/upgrade.txt @@ -4,9 +4,9 @@ information provided here is intended especially for developers. === 3.2.4 === * In order to allow multiple sheets in an exported file the functions write_header() and write_footer() have - been removed from core dataformats plugins and have been replaced. - - write_header() has been split into the two functions start_output() and start_sheet(). - - write_footer() has been split into the two functions close_output() and close_sheet(). + been removed from core dataformat plugins and have been replaced. + - write_header() has been replaced with the two functions start_output() and start_sheet(). + - write_footer() has been replaced with the two functions close_output() and close_sheet(). For backwards compatibility write_header() and write_footer() will continue to work. === 3.1 ===