remove some more extraneous globals
authorxzilla <xzilla>
Thu, 10 Jan 2008 19:37:07 +0000 (19:37 +0000)
committerxzilla <xzilla>
Thu, 10 Jan 2008 19:37:07 +0000 (19:37 +0000)
history.php
sqledit.php

index c67f457fb6bb401c3f638189acb7b2d4635f51b7..285cb24ca73e9b3ba816dbe4ec51f983f61a7d5e 100644 (file)
@@ -3,7 +3,7 @@
        /**
         * Alternative SQL editing window
         *
-        * $Id: history.php,v 1.2 2008/01/10 17:41:34 xzilla Exp $
+        * $Id: history.php,v 1.3 2008/01/10 19:37:07 xzilla Exp $
         */
 
        // Include application functions
@@ -12,7 +12,7 @@
        $action = (isset($_REQUEST['action'])) ? $_REQUEST['action'] : '';
 
        function doDefault() {
-               global $data, $misc, $lang, $conf;
+               global $misc, $lang;
 
                $onchange = "onchange=\"location.href='history.php?server=' + encodeURI(server.options[server.selectedIndex].value) + '&amp;database=' + encodeURI(database.options[database.selectedIndex].value) + '&amp;'\"";
 
index 42e9bb21c88d74ef118ae730da4713af06e087a2..c141618e680a78b5352e4acaec39bd1db630d671 100644 (file)
@@ -3,7 +3,7 @@
        /**
         * Alternative SQL editing window
         *
-        * $Id: sqledit.php,v 1.39 2008/01/10 18:38:52 soranzo Exp $
+        * $Id: sqledit.php,v 1.40 2008/01/10 19:37:07 xzilla Exp $
         */
 
        // Include application functions
@@ -16,7 +16,7 @@
         * Private function to display server and list of databases
         */
        function _printConnection() {
-               global $data, $conf, $action, $misc;
+               global $data, $action, $misc;
                
                // The javascript action on the select box reloads the
                // popup whenever the server or database is changed.
@@ -98,7 +98,7 @@
         */
        function doDefault() {
                global $data, $misc;
-               global $lang, $conf;
+               global $lang
                
                if (!isset($_REQUEST['query'])) $_REQUEST['query'] = '';