original_string: protected static function get_dummy_user_record() {
          global $CFG;
  
          $dummyuser = new stdClass();
          $dummyuser->id = self::NOREPLY_USER;
          $dummyuser->email = $CFG->noreplyaddress;
          $dummyuser->firstname = get_string('noreplyname');
          $dummyuser->username = 'noreply';
          $dummyuser->lastname = '';
          $dummyuser->confirmed = 1;
          $dummyuser->suspended = 0;
          $dummyuser->deleted = 0;
          $dummyuser->picture = 0;
          $dummyuser->auth = 'manual';
          $dummyuser->firstnamephonetic = '';
          $dummyuser->lastnamephonetic = '';
          $dummyuser->middlename = '';
          $dummyuser->alternatename = '';
          $dummyuser->imagealt = '';
          return $dummyuser;
      }
code: protected static function get_dummy_user_record() {
          global $CFG;
  
          $dummyuser = new stdClass();
          $dummyuser->id = self::NOREPLY_USER;
          $dummyuser->email = $CFG->noreplyaddress;
          $dummyuser->firstname = get_string('noreplyname');
          $dummyuser->username = 'noreply';
          $dummyuser->lastname = '';
          $dummyuser->confirmed = 1;
          $dummyuser->suspended = 0;
          $dummyuser->deleted = 0;
          $dummyuser->picture = 0;
          $dummyuser->auth = 'manual';
          $dummyuser->firstnamephonetic = '';
          $dummyuser->lastnamephonetic = '';
          $dummyuser->middlename = '';
          $dummyuser->alternatename = '';
          $dummyuser->imagealt = '';
          return $dummyuser;
      }
code_tokens: protected static function get_dummy_user_record ( ) { global $ CFG ; $ dummyuser = new stdClass ( ) ; $ dummyuser -> id = self :: NOREPLY_USER ; $ dummyuser -> email = $ CFG -> noreplyaddress ; $ dummyuser -> firstname = get_string ( 'noreplyname' ) ; $ dummyuser -> username = 'noreply' ; $ dummyuser -> lastname = '' ; $ dummyuser -> confirmed = 1 ; $ dummyuser -> suspended = 0 ; $ dummyuser -> deleted = 0 ; $ dummyuser -> picture = 0 ; $ dummyuser -> auth = 'manual' ; $ dummyuser -> firstnamephonetic = '' ; $ dummyuser -> lastnamephonetic = '' ; $ dummyuser -> middlename = '' ; $ dummyuser -> alternatename = '' ; $ dummyuser -> imagealt = '' ; return $ dummyuser ; }
docstring: Helper function to return dummy noreply user record.
  
  @return stdClass
docstring_tokens: Helper function to return dummy noreply user record .