You are here

private function FirewallUpdater::deleteMainDataTables in Anti Spam by CleanTalk 8.4

Same name and namespace in other branches
  1. 9.1.x src/lib/Cleantalk/Common/Firewall/FirewallUpdater.php \Cleantalk\Common\Firewall\FirewallUpdater::deleteMainDataTables()

Removing a temporary updating table

Parameters

DB $db database handler:

1 call to FirewallUpdater::deleteMainDataTables()
FirewallUpdater::update in src/lib/Cleantalk/Common/Firewall/FirewallUpdater.php

File

src/lib/Cleantalk/Common/Firewall/FirewallUpdater.php, line 393

Class

FirewallUpdater

Namespace

Cleantalk\Common\Firewall

Code

private function deleteMainDataTables() {
  $this->db
    ->execute('DROP TABLE ' . $this->fw_data_table_name . ';');
}