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 /server_synchronize.php | |
parent | c2ae2ae265cade8b671acbd70073bbc22b61ee17 (diff) |
PMA_Footer and PMA_Header no longer need to be singletons
Diffstat (limited to 'server_synchronize.php')
-rw-r--r-- | server_synchronize.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/server_synchronize.php b/server_synchronize.php index 11ede98a81..cceb1ec2d1 100644 --- a/server_synchronize.php +++ b/server_synchronize.php @@ -14,7 +14,9 @@ require_once 'libraries/common.inc.php'; /** * Does the common work */ -$scripts = PMA_Header::getInstance()->getScripts(); +$response = PMA_Response::getInstance(); +$header = $response->getHeader(); +$scripts = $header->getScripts(); $scripts->addFile('server_synchronize.js'); require_once 'libraries/server_common.inc.php'; |