mirror of
https://github.com/PostgreSQL-For-Wordpress/postgresql-for-wordpress.git
synced 2025-07-30 17:57:13 +02:00
Match wpsql_ping formatting to adjacent functions
Although I am not a big fan of the existing style, I think consistency adds enough value to justify keeping the formatting as standardized as possible. Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
This commit is contained in:
@ -25,12 +25,9 @@
|
|||||||
$GLOBALS['pg4wp_last_insert'] = '';
|
$GLOBALS['pg4wp_last_insert'] = '';
|
||||||
$GLOBALS['pg4wp_connstr'] = '';
|
$GLOBALS['pg4wp_connstr'] = '';
|
||||||
$GLOBALS['pg4wp_conn'] = false;
|
$GLOBALS['pg4wp_conn'] = false;
|
||||||
|
|
||||||
|
|
||||||
function wpsql_ping($conn) {
|
|
||||||
return(pg_ping($conn));
|
|
||||||
}
|
|
||||||
|
|
||||||
|
function wpsql_ping($conn)
|
||||||
|
{ return pg_ping($conn); }
|
||||||
function wpsql_num_rows($result)
|
function wpsql_num_rows($result)
|
||||||
{ return pg_num_rows($result); }
|
{ return pg_num_rows($result); }
|
||||||
function wpsql_numrows($result)
|
function wpsql_numrows($result)
|
||||||
|
Reference in New Issue
Block a user