public function deleteConversionItems($visitIds)
    {
        $sql = "DELETE FROM `" . Common::prefixTable('log_conversion_item') . "` WHERE idvisit IN "
             . $this->getInFieldExpressionWithInts($visitIds);

        $statement = Db::query($sql);
        return $statement->rowCount();
    }
public function deleteConversionItems($visitIds)
    {
        $sql = "DELETE FROM `" . Common::prefixTable('log_conversion_item') . "` WHERE idvisit IN "
             . $this->getInFieldExpressionWithInts($visitIds);

        $statement = Db::query($sql);
        return $statement->rowCount();
    }
public function deleteConversionItems ( $ visitIds ) { $ sql = "DELETE FROM `" . Common :: prefixTable ( 'log_conversion_item' ) . "` WHERE idvisit IN " . $ this -> getInFieldExpressionWithInts ( $ visitIds ) ; $ statement = Db :: query ( $ sql ) ; return $ statement -> rowCount ( ) ; }
Deletes conversion items for the supplied visit IDs from log_conversion_item.

@param int[] $visitIds
@return int The number of deleted rows.
Deletes conversion items for the supplied visit IDs from log_conversion_item .