concrete/src/Page/Stack/UsageTracker.php
private function forgetCollection(Collection $collection)
    {
        $query_builder = $this->manager->createQueryBuilder();
        $query_builder
            ->delete(StackUsageRecord::class, 'r')
            ->where('r.collection_id = :collection_id')
            ->setParameter('collection_id', $collection->getCollectionID())
            ->getQuery()->execute();
    }
private function forgetCollection(Collection $collection)
    {
        $query_builder = $this->manager->createQueryBuilder();
        $query_builder
            ->delete(StackUsageRecord::class, 'r')
            ->where('r.collection_id = :collection_id')
            ->setParameter('collection_id', $collection->getCollectionID())
            ->getQuery()->execute();
    }
private function forgetCollection ( Collection $ collection ) { $ query_builder = $ this -> manager -> createQueryBuilder ( ) ; $ query_builder -> delete ( StackUsageRecord :: class , 'r' ) -> where ( 'r.collection_id = :collection_id' ) -> setParameter ( 'collection_id' , $ collection -> getCollectionID ( ) ) -> getQuery ( ) -> execute ( ) ; }
Forget about a collection object
@param \Concrete\Core\Page\Collection\Collection $collection
Forget about a collection object