mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 01:16:44 +02:00
MDL-24551 importing latest adodb 5.11
This commit is contained in:
parent
a02357dfbf
commit
6ede09aa83
120 changed files with 499 additions and 950 deletions
|
@ -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 );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue