Skip to content

Commit

Permalink
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions lib/pear/README_MOODLE.txt
Original file line number Diff line number Diff line change
@@ -18,6 +18,8 @@ and documented for Moodle at:
* http://cvs.moodle.org/moodle/lib/excel/Parser.php.diff?r1=1.1&r2=1.2
* http://cvs.moodle.org/moodle/lib/excel/Worksheet.php.diff?r1=1.1&r2=1.2

3/ removed deprecated "=& new"

Such modifications should be carefully each time the Excel PEAR package is updated
to a new release within Moodle.

4 changes: 2 additions & 2 deletions lib/pear/Spreadsheet/Excel/Writer/Workbook.php
Original file line number Diff line number Diff line change
@@ -183,7 +183,7 @@ function Spreadsheet_Excel_Writer_Workbook($filename)
$this->Spreadsheet_Excel_Writer_BIFFwriter();

$this->_filename = $filename;
$this->_parser =& new Spreadsheet_Excel_Writer_Parser($this->_byte_order, $this->_BIFF_version);
$this->_parser = new Spreadsheet_Excel_Writer_Parser($this->_byte_order, $this->_BIFF_version);
$this->_1904 = 0;
$this->_activesheet = 0;
$this->_firstsheet = 0;
@@ -192,7 +192,7 @@ function Spreadsheet_Excel_Writer_Workbook($filename)
$this->_fileclosed = 0;
$this->_biffsize = 0;
$this->_sheetname = 'Sheet';
$this->_tmp_format =& new Spreadsheet_Excel_Writer_Format($this->_BIFF_version);
$this->_tmp_format = new Spreadsheet_Excel_Writer_Format($this->_BIFF_version);
$this->_worksheets = array();
$this->_sheetnames = array();
$this->_formats = array();

0 comments on commit b627403

Please sign in to comment.