MDL-24551 importing latest adodb 5.11

This commit is contained in:
Petr Skoda 2010-10-06 15:31:49 +00:00
parent a02357dfbf
commit 6ede09aa83
120 changed files with 499 additions and 950 deletions

View file

@ -149,7 +149,7 @@ class dbObject {
}
function create() {
function create(&$xmls) {
return array();
}
@ -1301,10 +1301,11 @@ class adoSchema {
*
* @param object $db ADOdb database connection object.
*/
function adoSchema( &$db ) {
function adoSchema( $db ) {
// Initialize the environment
$this->mgq = get_magic_quotes_runtime();
set_magic_quotes_runtime(0);
ini_set("magic_quotes_runtime", 0);
#set_magic_quotes_runtime(0);
$this->db = $db;
$this->debug = $this->db->debug;
@ -2193,7 +2194,8 @@ class adoSchema {
* @deprecated adoSchema now cleans up automatically.
*/
function Destroy() {
set_magic_quotes_runtime( $this->mgq );
ini_set("magic_quotes_runtime", $this->mgq );
#set_magic_quotes_runtime( $this->mgq );
unset( $this );
}
}