Remove Postgres.php:getVariable() function
authorGuillaume (ioguix) de Rorthais <ioguix@free.fr>
Sat, 15 May 2010 17:50:13 +0000 (19:50 +0200)
committerGuillaume (ioguix) de Rorthais <ioguix@free.fr>
Sat, 15 May 2010 17:50:13 +0000 (19:50 +0200)
1st it was unsecure, 2nd it was unused anyway

classes/database/Postgres.php

index 970b432e615cced5d95d709cdb2d0fce1666d078..29f07afc1947bb404d53a80115264a2a359633ec 100755 (executable)
@@ -832,16 +832,6 @@ class Postgres extends ADODB_base {
                return $this->selectSet($sql);
        }
 
-       /**
-        * Returns the specified variable information.
-        * @return the field
-        */
-       function getVariable($setting) {
-               $sql = "SHOW $setting";
-
-               return $this->selectSet($sql);
-       }
-
        /**
         * Returns all available variable information.
         * @return A recordset