X-Git-Url: https://git.openstreetmap.org/nominatim.git/blobdiff_plain/101a1f895d25451535f5c186d2ce1f5b7e753e3b..153dbb71b8fe632c3cbda3834b012bf9db77d365:/lib-php/DB.php diff --git a/lib-php/DB.php b/lib-php/DB.php index 0454a0ff..c25c5ca9 100644 --- a/lib-php/DB.php +++ b/lib-php/DB.php @@ -240,16 +240,6 @@ class DB return ($this->getOne($sSQL, array(':tablename' => $sTableName)) == 1); } - /** - * Returns a list of table names in the database - * - * @return array[] - */ - public function getListOfTables() - { - return $this->getCol("SELECT tablename FROM pg_tables WHERE schemaname='public'"); - } - /** * Deletes a table. Returns true if deleted or didn't exist. *