models/classes/ExtendedStateService.php
public function removeEvents($testSessionId, $ids = [])
    {
        $extendedState = $this->getExtendedState($testSessionId);
        $extendedState->removeEvents($ids);
        $extendedState->save();
    }
public function removeEvents($testSessionId, $ids = [])
    {
        $extendedState = $this->getExtendedState($testSessionId);
        $extendedState->removeEvents($ids);
        $extendedState->save();
    }
Removes particular events from the queue
@param $testSessionId
@param array $ids
@throws \common_Exception