Skip to content

Commit

Permalink
fix: remove check for mysql extension
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonTheAdams committed Oct 26, 2023
1 parent 544ea4a commit 7ed23dc
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions includes/admin/tools/views/html-admin-page-system-info.php
Original file line number Diff line number Diff line change
Expand Up @@ -300,11 +300,7 @@ class="dashicons dashicons-external"></span></a>
<?php
endif;

if ( $wpdb->use_mysqli ) {
$ver = mysqli_get_server_info( $wpdb->dbh );
} else {
$ver = mysql_get_server_info();
}
$ver = mysqli_get_server_info($wpdb->dbh);

if ( ! empty( $wpdb->is_mysql ) && ! stristr( $ver, 'MariaDB' ) ) :
?>
Expand Down

0 comments on commit 7ed23dc

Please sign in to comment.