From a93165efa5930f7880373bee63406bf4294858cb Mon Sep 17 00:00:00 2001 From: Nick Liu Date: Mon, 23 Dec 2019 17:12:47 +0100 Subject: [PATCH] Implemented missing e_db_mysql::resetTableList() method e_db::resetTableList() is now an interface method (undocumented) --- e107_handlers/e_db_interface.php | 5 +++++ e107_handlers/mysql_class.php | 7 +++++++ 2 files changed, 12 insertions(+) diff --git a/e107_handlers/e_db_interface.php b/e107_handlers/e_db_interface.php index ae0d1015b..01ebd58ec 100644 --- a/e107_handlers/e_db_interface.php +++ b/e107_handlers/e_db_interface.php @@ -352,6 +352,11 @@ function backup($table='*', $file='', $options=null); + /** + * TODO: Document this method + */ + public function resetTableList(); + /** * Return a filtered list of DB tables. * diff --git a/e107_handlers/mysql_class.php b/e107_handlers/mysql_class.php index 0ce1d4dda..5de917a5b 100644 --- a/e107_handlers/mysql_class.php +++ b/e107_handlers/mysql_class.php @@ -2607,6 +2607,13 @@ class e_db_mysql implements e_db $this->mySQLtableList = array(); $this->mySQLtableListLanguage = array(); } + /** + * @inheritDoc + */ + public function resetTableList() + { + return $this->db_ResetTableList(); + } /** * Legacy Alias of tables