Skip to content

Commit 8d0f583

Browse files
committed
mysqli_ping is deprecated
1 parent 5147e8e commit 8d0f583

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ludicrousdb/includes/class-ludicrousdb.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1606,7 +1606,7 @@ public function check_connection( $die_on_disconnect = true, $dbh_or_table = fal
16061606
if (
16071607
$this->dbh_type_check( $dbh )
16081608
&&
1609-
mysqli_ping( $dbh )
1609+
mysqli_query( $dbh, 'DO 1' ) !== false
16101610
) {
16111611
return true;
16121612
}

0 commit comments

Comments
 (0)