public static function group_member_removed($event) {
        if (!empty(self::$resetinprogress)) {
            // We will take care of that once the course reset ends.
            return;
        }
        quiz_update_open_attempts(array('userid' => $event->relateduserid, 'groupid' => $event->objectid));
    }
public static function group_member_removed($event) {
        if (!empty(self::$resetinprogress)) {
            // We will take care of that once the course reset ends.
            return;
        }
        quiz_update_open_attempts(array('userid' => $event->relateduserid, 'groupid' => $event->objectid));
    }
public static function group_member_removed ( $ event ) { if ( ! empty ( self :: $ resetinprogress ) ) { // We will take care of that once the course reset ends. return ; } quiz_update_open_attempts ( array ( 'userid' => $ event -> relateduserid , 'groupid' => $ event -> objectid ) ) ; }
A group member was deleted.

@param \core\event\base $event The event.
@return void
A group member was deleted .