original_string: 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));
      }
code: 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));
      }
code_tokens: 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 ) ) ; }
docstring: A group member was deleted.
  
  @param \core\event\base $event The event.
  @return void
docstring_tokens: A group member was deleted .