No need to require_once footer

It is the last thing executed anyway (ends with exit).
This commit is contained in:
Michal Čihař
2010-07-26 16:20:24 +02:00
parent ee767e2d3d
commit d291827444
49 changed files with 65 additions and 65 deletions

View File

@@ -98,7 +98,7 @@ $tbl_result = PMA_DBI_query('SHOW TABLES FROM ' . PMA_backquote($db) . ';',
$tbl_result_cnt = PMA_DBI_num_rows($tbl_result);
if (0 == $tbl_result_cnt) {
PMA_Message::error(__('No tables found in database.'))->display();
require_once './libraries/footer.inc.php';
require './libraries/footer.inc.php';
exit;
}
@@ -939,5 +939,5 @@ if (!empty($qry_orderby)) {
/**
* Displays the footer
*/
require_once './libraries/footer.inc.php';
require './libraries/footer.inc.php';
?>