MDL-52286 core: mute erros in adodb destructor

This commit is contained in:
Marina Glancy 2015-12-15 12:36:02 +08:00
parent 99436d38ff
commit 8638b3f144
2 changed files with 3 additions and 2 deletions

View File

@ -3250,7 +3250,7 @@ http://www.stanford.edu/dept/itss/docs/oracle/10g/server.101/b10759/statements_1
}
function __destruct() {
$this->Close();
@$this->Close();
}
function getIterator() {

View File

@ -25,6 +25,7 @@ Added:
Our changes:
* Removed random seed initialization from lib/adodb/adodb.inc.php:216 (see 038f546 and MDL-41198).
* MDL-52286 fixed usage of /e in preg_replace, incorrect constructor in ADORecordSet_ext_mysqlt
and ADORecordSet_mysqli::_close(). Check if fixed upstream during the next upgrade and remove this line.
and ADORecordSet_mysqli::_close(), added muting erros in ADORecordSet::__destruct().
Check if fixed upstream during the next upgrade and remove this note.
skodak, iarenaza, moodler, stronk7