diff options
author | Rouslan Placella <rouslan@placella.com> | 2012-06-01 19:12:00 +0400 |
---|---|---|
committer | Rouslan Placella <rouslan@placella.com> | 2012-06-11 17:06:03 +0400 |
commit | a05456210029c8ba09db1eb765bcb116c449c746 (patch) | |
tree | eb9beb55a6569298b9309b38a50823094e15ce78 /tbl_indexes.php | |
parent | c2ae2ae265cade8b671acbd70073bbc22b61ee17 (diff) |
PMA_Footer and PMA_Header no longer need to be singletons
Diffstat (limited to 'tbl_indexes.php')
-rw-r--r-- | tbl_indexes.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tbl_indexes.php b/tbl_indexes.php index 08f474cbc2..2eca4f94e9 100644 --- a/tbl_indexes.php +++ b/tbl_indexes.php @@ -129,7 +129,9 @@ if (isset($_REQUEST['do_save_data'])) { */ // Displays headers (if needed) -$scripts = PMA_Header::getInstance()->getScripts(); +$response = PMA_Response::getInstance(); +$header = $response->getHeader(); +$scripts = $header->getScripts(); $scripts->addFile('indexes.js'); require_once 'libraries/tbl_info.inc.php'; |