moodle/lib/pear/README_MOODLE.txt
Eloy Lafuente (stronk7) 07c4a94952 MDL-38373 Use correct PEAR->loadExtension()
Current use is wrong (static) and leads to strict standards notice.
2013-03-16 11:43:03 +01:00

49 lines
1.3 KiB
Plaintext

MOODLE-SPECIFIC PEAR MODIFICATIONS
==================================
Auth/RADIUS
===========
1/ Changed static call to correct alternative (MDL-38373):
- From: PEAR::loadExtension('radius'); (in global scope)
- To: $this->loadExtension('radius'); (in constructor)
Spreadsheet/Excel
=================
1/ These functions:
_calculateSharedStringsSizes()
_storeSharedStringsTable()
have been inserted, replacing the original functions in order to make the function
work with 2-byte data. The patch is discussed at this URL:
http://pear.php.net/bugs/bug.php?id=1572
and documented for Moodle at:
http://tracker.moodle.org/browse/MDL-9911
2/ Changed ereg_ to preg_
3/ removed deprecated "=& new"
4/ MDL-20876 - replaced deprecated split() with explode() or str_split() where appropriate
Such modifications should be carefully each time the Excel PEAR package is updated
to a new release within Moodle.
5/ static keywords in OLE.php
* static function Asc2Ucs()
* static function LocalDate2OLE()
XML/Parser
=================
1/ changed ereg_ to preg_
* http://cvs.moodle.org/moodle/lib/pear/XML/Parser.php.diff?r1=1.1&r2=1.2
Quickforms
==========
Full of our custom hacks, no way to upgrade to latest upstream.
Most probably we will stop using this library in the future.
MDL-20876 - replaced split() with explode() or preg_split() where appropriate