mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
trailing tabs and whitespace cleanup.
git-svn-id: https://develop.svn.wordpress.org/trunk@4953 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -48,7 +48,7 @@ class wpdb {
|
||||
function wpdb($dbuser, $dbpassword, $dbname, $dbhost) {
|
||||
return $this->__construct($dbuser, $dbpassword, $dbname, $dbhost);
|
||||
}
|
||||
|
||||
|
||||
function __construct($dbuser, $dbpassword, $dbname, $dbhost) {
|
||||
register_shutdown_function(array(&$this, "__destruct"));
|
||||
|
||||
@@ -79,7 +79,7 @@ class wpdb {
|
||||
}
|
||||
|
||||
function __destruct() {
|
||||
return true;
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -181,7 +181,7 @@ class wpdb {
|
||||
|
||||
$this->result = @mysql_query($query, $this->dbh);
|
||||
++$this->num_queries;
|
||||
|
||||
|
||||
if (SAVEQUERIES)
|
||||
$this->queries[] = array( $query, $this->timer_stop() );
|
||||
|
||||
@@ -255,7 +255,7 @@ class wpdb {
|
||||
$this->func_call = "\$db->get_row(\"$query\",$output,$y)";
|
||||
if ( $query )
|
||||
$this->query($query);
|
||||
|
||||
|
||||
if ( !isset($this->last_result[$y]) )
|
||||
return null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user