public function remove($type, $subtype)
{
$sql = "\n\t\t\tDELETE FROM {$this->db->prefix}entity_subtypes\n\t\t\tWHERE type = :type AND subtype = :subtype\n\t\t";
$params = [':type' => $type, ':subtype' => $subtype];
if (!$this->db->deleteData($sql, $params)) {
return false;
}
$this->invalidateCache();
return true;
}