protected static function drop_table($old_table)
{
$old_table = !stristr($old_table, DB_PREFIX) ? DB_PREFIX . $old_table : $old_table;
$result = dbquery("DROP TABLE IF EXISTS " . $old_table);
if (!$result) {
\defender::stop();
}
if (!\defender::safe()) {
addNotice("danger", "Unable to drop " . $old_table);
}
}