Use passed parameter instead of calculating it again

Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
Michal Čihař 2014-06-06 14:12:03 +02:00
parent 662c54b77e
commit 4638c051f5

View File

@ -636,13 +636,6 @@ class PMA_DisplayResults
// contains accented characters
$html_sql_query = htmlspecialchars($this->__get('sql_query'));
/**
* @todo move this to a central place
* @todo for other future table types
*/
$is_innodb = (isset($showtable['Type'])
&& $showtable['Type'] == self::TABLE_TYPE_INNO_DB);
// Navigation bar
$table_navigation_html .= '<table class="navigation nospacing nopadding">'
. '<tr>'