Ignore:
Timestamp:
May 2, 2016, 12:09:23 PM (3 years ago)
Author:
jrpelegrina
Message:

Updated to moodle 3.0.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • moodle/trunk/fuentes/lib/adodb/drivers/adodb-odbc_mssql.inc.php

    r136 r1331  
    11<?php
    22/*
    3 V5.19  23-Apr-2014  (c) 2000-2014 John Lim (jlim#natsoft.com). All rights reserved.
     3@version   v5.20.1  06-Dec-2015
     4@copyright (c) 2000-2013 John Lim (jlim#natsoft.com). All rights reserved.
     5@copyright (c) 2014      Damien Regad, Mark Newnham and the ADOdb community
    46  Released under both BSD license and Lesser GPL library license.
    57  Whenever there is any discrepancy between the two licenses,
     
    4648                                                                                                                  # concatenating a null value with a string yields a NULL result
    4749
    48         function ADODB_odbc_mssql()
    49         {
    50                 $this->ADODB_odbc();
     50        function __construct()
     51        {
     52                parent::__construct();
    5153                //$this->curmode = SQL_CUR_USE_ODBC;
    5254        }
     
    253255        // "Stein-Aksel Basma" <basma@accelero.no>
    254256        // tested with MSSQL 2000
    255         function MetaPrimaryKeys($table)
     257        function MetaPrimaryKeys($table, $owner = false)
    256258        {
    257259        global $ADODB_FETCH_MODE;
     
    355357        var $databaseType = 'odbc_mssql';
    356358
    357         function ADORecordSet_odbc_mssql($id,$mode=false)
    358         {
    359                 return $this->ADORecordSet_odbc($id,$mode);
     359        function __construct($id,$mode=false)
     360        {
     361                return parent::__construct($id,$mode);
    360362        }
    361363}
Note: See TracChangeset for help on using the changeset viewer.