Skip to content

Commit

Permalink
Remove unneccessary ver variable. We already display using wpdb's db_…
Browse files Browse the repository at this point in the history
…version
  • Loading branch information
justinshreve committed Jul 21, 2016
1 parent 1a657d8 commit 9ab38ee
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions includes/admin/views/html-admin-page-status-report.php
Original file line number Diff line number Diff line change
Expand Up @@ -173,14 +173,7 @@
<td><?php echo extension_loaded( 'suhosin' ) ? '<span class="dashicons dashicons-yes"></span>' : '&ndash;'; ?></td>
</tr>
<?php endif; ?>
<?php
if ( $wpdb->use_mysqli ) {
$ver = mysqli_get_server_info( $wpdb->dbh );
} else {
$ver = mysql_get_server_info();
}

if ( ! empty( $wpdb->is_mysql ) ) : ?>
<?php if ( ! empty( $wpdb->is_mysql ) ) : ?>
<tr>
<td data-export-label="MySQL Version"><?php _e( 'MySQL Version', 'woocommerce' ); ?>:</td>
<td class="help"><?php echo wc_help_tip( __( 'The version of MySQL installed on your hosting server.', 'woocommerce' ) ); ?></td>
Expand Down

0 comments on commit 9ab38ee

Please sign in to comment.