diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-07-21 07:27:00 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-07-21 07:27:00 +0000 |
commit | ef5360ab3c1a1a0a2d5246ca57a6866a4efc2175 (patch) | |
tree | c37eb5431050dd7433ca2cea671ff8a8041dfe1a /includes/database/database.inc | |
parent | 2da6a0ed1e32189010ff2cb9b39ecaad18250e2d (diff) | |
download | brdo-ef5360ab3c1a1a0a2d5246ca57a6866a4efc2175.tar.gz brdo-ef5360ab3c1a1a0a2d5246ca57a6866a4efc2175.tar.bz2 |
#525754 by chx: Clean up some trailing whitespace.
Diffstat (limited to 'includes/database/database.inc')
-rw-r--r-- | includes/database/database.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/database/database.inc b/includes/database/database.inc index a5da925de..69f84a446 100644 --- a/includes/database/database.inc +++ b/includes/database/database.inc @@ -1348,7 +1348,7 @@ abstract class Database { // We need to pass around the simpletest database prefix in the request // and we put that in the user_agent header. - if (isset($_SERVER['HTTP_USER_AGENT']) && preg_match("/^simpletest\d+$/", $_SERVER['HTTP_USER_AGENT'])) { + if (isset($_SERVER['HTTP_USER_AGENT']) && preg_match("/^simpletest\d+$/", $_SERVER['HTTP_USER_AGENT'])) { $db_prefix .= $_SERVER['HTTP_USER_AGENT']; } return $new_connection; @@ -2468,7 +2468,7 @@ function _db_error_page($error = '') { function db_ignore_slave() { $connection_info = Database::getConnectionInfo(); // Only set ignore_slave_server if there are slave servers - // being used, which is assumed if there are more than one. + // being used, which is assumed if there are more than one. if (count($connection_info) > 1) { // Five minutes is long enough to allow the slave to break and resume // interrupted replication without causing problems on the Drupal site |