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_change.php | |
parent | c2ae2ae265cade8b671acbd70073bbc22b61ee17 (diff) |
PMA_Footer and PMA_Header no longer need to be singletons
Diffstat (limited to 'tbl_change.php')
-rw-r--r-- | tbl_change.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tbl_change.php b/tbl_change.php index f4246ccc97..ea89f7b500 100644 --- a/tbl_change.php +++ b/tbl_change.php @@ -109,7 +109,9 @@ if ($GLOBALS['cfg']['ShowPropertyComments']) { /** * Load JavaScript files */ -$scripts = PMA_Header::getInstance()->getScripts(); +$response = PMA_Response::getInstance(); +$header = $response->getHeader(); +$scripts = $header->getScripts(); $scripts->addFile('functions.js'); $scripts->addFile('tbl_change.js'); $scripts->addFile('jquery/timepicker.js'); @@ -118,7 +120,7 @@ $scripts->addFile('gis_data_editor.js'); /** * HTTP and HTML headers */ -PMA_Header::getInstance()->display(); +$header->display(); /** * Displays the query submitted and its result |