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

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

        $statement = Db::query($sql);
        return $statement->rowCount();
    }
public function deleteFromLogTable ( $ tableName , $ visitIds ) { $ sql = "DELETE FROM `" . Common :: prefixTable ( $ tableName ) . "` WHERE idvisit IN " . $ this -> getInFieldExpressionWithInts ( $ visitIds ) ; $ statement = Db :: query ( $ sql ) ; return $ statement -> rowCount ( ) ; }
Deletes conversions for the supplied visit IDs from log_conversion. This method does not cascade, so
conversion items will not be deleted.

@param int[] $visitIds
@return int The number of deleted rows.
Deletes conversions for the supplied visit IDs from log_conversion . This method does not cascade so conversion items will not be deleted .