function __construct($create_tables = false)
 {
     $this->create_tables = $create_tables;
     // use another table prefix?
     if (file_exists(WB_PATH . '/modules/' . basename(dirname(__FILE__)) . '/config.json')) {
         $config = json_decode(file_get_contents(WB_PATH . '/modules/' . basename(dirname(__FILE__)) . '/config.json'), true);
         if (isset($config['table_prefix'])) {
             self::$table_prefix = $config['table_prefix'];
         }
     }
     parent::__construct();
     $this->setTablePrefix(self::$table_prefix);
     $this->setTableName('mod_kit_countries');
     $this->addFieldDefinition(self::field_id, "INT NOT NULL AUTO_INCREMENT", true);
     $this->addFieldDefinition(self::field_land_kfz, "VARCHAR(2) NOT NULL DEFAULT ''");
     $this->addFieldDefinition(self::field_land_name, "VARCHAR(50) NOT NULL DEFAULT ''");
     $this->checkFieldDefinitions();
     // set default timezone
     date_default_timezone_set(CFG_TIME_ZONE);
     if ($this->create_tables) {
         $this->initTables();
     }
 }
        $error .= sprintf('<p>[Delete Table] %s</p>', $dbContact->getError());
    }
}
$dbContactArray = new dbKITcontactArrayCfg();
if ($dbContactArray->sqlTableExists()) {
    if (!$dbContactArray->sqlDeleteTable()) {
        $error .= sprintf('<p>[Delete Table] %s</p>', $dbContactArray->getError());
    }
}
$dbContactAddress = new dbKITcontactAddress();
if ($dbContactAddress->sqlTableExists()) {
    if (!$dbContactAddress->sqlDeleteTable()) {
        $error .= sprintf('<p>[Delete Table] %s</p>', $dbContactAddress->getError());
    }
}
$dbCountries = new dbKITcountries();
if ($dbCountries->sqlTableExists()) {
    if (!$dbCountries->sqlDeleteTable()) {
        $error .= sprintf('<p>[Delete Table] %s</p>', $dbCountries->getError());
    }
}
$dbMemos = new dbKITmemos();
if ($dbMemos->sqlTableExists()) {
    if (!$dbMemos->sqlDeleteTable()) {
        $error .= sprintf('<p>[Delete Table] %s</p>', $dbMemos->getError());
    }
}
$dbKITprotocol = new dbKITprotocol();
if ($dbKITprotocol->sqlTableExists()) {
    if (!$dbKITprotocol->sqlDeleteTable()) {
        $error .= sprintf('<p>[Delete Table] %s</p>', $dbKITprotocol->getError());