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;
    }
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;
    }
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 ; }
Helper function to return dummy noreply user record.

@return stdClass
Helper function to return dummy noreply user record .