Remove possibly dead code
It was only used in test Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
This commit is contained in:
parent
5285fa8360
commit
fc8b80b515
@ -15708,7 +15708,7 @@ parameters:
|
||||
-
|
||||
message: '#^Construct empty\(\) is not allowed\. Use more strict comparison\.$#'
|
||||
identifier: empty.notAllowed
|
||||
count: 3
|
||||
count: 2
|
||||
path: src/ResponseRenderer.php
|
||||
|
||||
-
|
||||
|
||||
@ -9313,7 +9313,6 @@
|
||||
<code><![CDATA[DatabaseInterface::getInstance()]]></code>
|
||||
</DeprecatedMethod>
|
||||
<InvalidArrayOffset>
|
||||
<code><![CDATA[$GLOBALS['focus_querywindow']]]></code>
|
||||
<code><![CDATA[$GLOBALS['reload']]]></code>
|
||||
</InvalidArrayOffset>
|
||||
<MixedArgumentTypeCoercion>
|
||||
|
||||
@ -305,9 +305,6 @@ class ResponseRenderer
|
||||
'reloadQuerywindow',
|
||||
['db' => Current::$database, 'table' => Current::$table, 'sql_query' => $query],
|
||||
);
|
||||
if (! empty($GLOBALS['focus_querywindow'])) {
|
||||
$this->addJSON('_focusQuerywindow', $query);
|
||||
}
|
||||
|
||||
if (! empty($GLOBALS['reload'])) {
|
||||
$this->addJSON('reloadNavigation', 1);
|
||||
|
||||
@ -44,7 +44,6 @@ class FooterTest extends AbstractTestCase
|
||||
$config->selectedServer['DisableIS'] = false;
|
||||
$config->selectedServer['verbose'] = 'verbose host';
|
||||
$_GET['reload_left_frame'] = '1';
|
||||
$GLOBALS['focus_querywindow'] = 'main_pane_left';
|
||||
$this->object = new Footer(new Template(), $config);
|
||||
Current::$sqlQuery = '';
|
||||
$_POST = [];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user