Browse files

remove unused variables

  • Loading branch information...
1 parent 237adf4 commit 76f871585de750aae36e9d52b49735e681eb04f1 @ruleant ruleant committed Jan 25, 2013
Showing with 2 additions and 4 deletions.
  1. +0 −1 server_status.php
  2. +0 −1 server_status_queries.php
  3. +2 −2 sql.php
View
1 server_status.php
@@ -126,7 +126,6 @@ function getServerTrafficHtml($ServerStatusData)
PMA_replication_print_status_table($type);
}
}
- unset($types);
}
$retval .= '<table id="serverstatustraffic" class="data noclick">';
View
1 server_status_queries.php
@@ -93,7 +93,6 @@ function getQueryStatisticsHtml($ServerStatusData)
arsort($used_queries);
$odd_row = true;
- $count_displayed_rows = 0;
$perc_factor = 100 / $total_queries; //(- $ServerStatusData->status['Connections']);
$retval .= '<table id="serverstatusqueriesdetails" class="data sortable noclick">';
View
4 sql.php
@@ -356,7 +356,7 @@
* Need to find the real end of rows?
*/
if (isset($find_real_end) && $find_real_end) {
- $unlim_num_rows = PMA_Table::countRecords($db, $table, $force_exact = true);
+ $unlim_num_rows = PMA_Table::countRecords($db, $table, true);
$_SESSION['tmp_user_values']['pos'] = @((ceil(
$unlim_num_rows / $_SESSION['tmp_user_values']['max_rows']
) - 1) * $_SESSION['tmp_user_values']['max_rows']);
@@ -1482,7 +1482,7 @@ function getTableHtmlForMultipleQueries(
$analyzed_sql = PMA_SQP_analyze($parsed_sql);
$is_select = isset($analyzed_sql[0]['queryflags']['select_from']);
$unlim_num_rows = PMA_Table::countRecords(
- $db, $table, $force_exact = true
+ $db, $table, true
);
$showtable = PMA_Table::sGetStatusInfo($db, $table, null, true);
$url_query = PMA_generate_common_url($db, $table);

0 comments on commit 76f8715

Please sign in to comment.