WordPress.org

Plugin Directory

Changeset 649445


Ignore:
Timestamp:
01/08/13 00:55:00 (15 months ago)
Author:
wpmuguru
Message:

fix warnings in 3.5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • shardb/trunk/db.php

    r454819 r649445  
    44    require( ABSPATH . WPINC . '/wp-db.php' ); 
    55} 
    6      
     6 
     7global $shardb_hash_length; 
     8 
    79if( !isset( $shardb_hash_length ) ) { 
    810    $wpdb = new wpdb( DB_USER, DB_PASSWORD, DB_NAME, DB_HOST ); 
     
    2931    var $srtm = false; 
    3032    var $db_connections; 
     33    var $open_connections = null; 
    3134    var $current_host; 
    3235    var $dbh2host = array(); 
     
    7477        $this->dbname = $dbname; 
    7578        $this->dbhost = $dbhost; 
     79 
     80        if ( null === $this->open_connections ) 
     81            $this->open_connections = array(); 
     82 
    7683    } 
    7784 
Note: See TracChangeset for help on using the changeset viewer.