summaryrefslogtreecommitdiff
path: root/adodb-xmlschema.inc.php
AgeCommit message (Collapse)AuthorFilesLines
2018-03-30Don't bother with magic quotes when not availablejrfnl1-4/+6
Magic quotes were removed from PHP in v5.4.0. The return value of `get_magic_quotes_runtime()` will be 0 if `magic_quotes_runtime` is off, 1 otherwise. And as of PHP 5.4.0, it will always returns `false`. This minor change prevents trying to set the ini value when the ini rective is not available and cleans up some old/unused/commented out code. Refs: * http://php.net/manual/en/info.configuration.php#ini.magic-quotes-runtime * http://php.net/manual/en/function.get-magic-quotes-runtime.php Fixes #407 Signed-off-by: Damien Regad <dregad@mantisbt.org> Minor changes to original commit message
2016-08-02xml: remove calls to 'unset($this)' (PHP 7.1 compatibility)Christian Kuhn1-2/+0
unset($this) throws a fatal error on linting. Use internal garbage collection to clean up old objects instead. Fixes #257 Signed-off-by: Damien Regad <dregad@mantisbt.org> As per PHP manual, "It is not possible to unset $this inside an object method since PHP 5." (see http://php.net/manual/function.unset, Notes section)
2016-08-02xml: fix php strict warningDamien Regad1-2/+4
dbTable::_tag_open() throws "Only variables should be passed by reference" error when processing INDEX and DATA tags. Fixes #229, fixes #260
2015-08-11Fix#139: Remove PHP 4 ConstructorsValentin Sheyretski1-6/+6
This is the original commit from @valioz, rebased on latest master Signed-off-by: Damien Regad <dregad@mantisbt.org> Conflicts: drivers/adodb-db2ora.inc.php drivers/adodb-mssqlpo.inc.php drivers/adodb-odbc_oracle.inc.php
2014-02-24Remove closing php tagDamien Regad1-1/+0
http://php.net/manual/en/language.basic-syntax.phptags.php
2013-08-05Reorg: ADOdb5 (master) branchDamien Regad1-0/+2225
- Move all files in adodb5/ to root - Remove adodb-for-php4/ directory