public static function DropTable() { global $DB; if (self::$boolError) { return false; } $strSql = "DROP TABLE IF EXISTS " . self::$strTableName; $result = $DB->Query($strSql, true); if (!$result) { self::$boolError = true; if (!is_array(self::$arErrors)) { self::$arErrors = array(); } self::$arErrors[] = $DB->db_Error; return false; } return true; }
public static function FormatComplete() { return CCatalogDiscountConvertTmp::DropTable(); }