diff options
author | Rouslan Placella <rouslan@placella.com> | 2012-05-30 17:16:57 +0400 |
---|---|---|
committer | Rouslan Placella <rouslan@placella.com> | 2012-06-11 17:06:03 +0400 |
commit | 243727043dc47e4752802ed101af9da1ac1a3690 (patch) | |
tree | 71bbe9270b830be6cc9b9056c34754f66824b3f7 /tbl_printview.php | |
parent | da1e70e1fbfbd9db218ee037fe285e2bab2cdcf5 (diff) |
Removed the last references to the old header files
Diffstat (limited to 'tbl_printview.php')
-rw-r--r-- | tbl_printview.php | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/tbl_printview.php b/tbl_printview.php index 77bcd2b6eb..48e1b9731a 100644 --- a/tbl_printview.php +++ b/tbl_printview.php @@ -11,12 +11,7 @@ */ require_once 'libraries/common.inc.php'; -/** - * Gets the variables sent or posted to this script, then displays headers - */ -if (! isset($selected_tbl)) { - include_once 'libraries/header_printview.inc.php'; -} +PMA_Header::getInstance()->enablePrintView(); require 'libraries/tbl_common.inc.php'; @@ -61,7 +56,6 @@ if (isset($selected_tbl) && is_array($selected_tbl)) { $multi_tables = (count($the_tables) > 1); if ($multi_tables) { - PMA_Header::getInstance()->display(); $tbl_list = ''; foreach ($the_tables as $key => $table) { $tbl_list .= (empty($tbl_list) ? '' : ', ') |