original_string: public function send_notification($userfrom, $userto, $messagetype, $eventtype, $updatetime) {
          global $USER;
          $userid = core_user::is_real_user($userfrom->id) ? $userfrom->id : $USER->id;
          $uniqueid = $this->get_uniqueid_for_user($userid);
          self::send_assignment_notification($userfrom,
                                             $userto,
                                             $messagetype,
                                             $eventtype,
                                             $updatetime,
                                             $this->get_course_module(),
                                             $this->get_context(),
                                             $this->get_course(),
                                             $this->get_module_name(),
                                             $this->get_instance()->name,
                                             $this->is_blind_marking(),
                                             $uniqueid);
      }
code: public function send_notification($userfrom, $userto, $messagetype, $eventtype, $updatetime) {
          global $USER;
          $userid = core_user::is_real_user($userfrom->id) ? $userfrom->id : $USER->id;
          $uniqueid = $this->get_uniqueid_for_user($userid);
          self::send_assignment_notification($userfrom,
                                             $userto,
                                             $messagetype,
                                             $eventtype,
                                             $updatetime,
                                             $this->get_course_module(),
                                             $this->get_context(),
                                             $this->get_course(),
                                             $this->get_module_name(),
                                             $this->get_instance()->name,
                                             $this->is_blind_marking(),
                                             $uniqueid);
      }
code_tokens: public function send_notification ( $ userfrom , $ userto , $ messagetype , $ eventtype , $ updatetime ) { global $ USER ; $ userid = core_user :: is_real_user ( $ userfrom -> id ) ? $ userfrom -> id : $ USER -> id ; $ uniqueid = $ this -> get_uniqueid_for_user ( $ userid ) ; self :: send_assignment_notification ( $ userfrom , $ userto , $ messagetype , $ eventtype , $ updatetime , $ this -> get_course_module ( ) , $ this -> get_context ( ) , $ this -> get_course ( ) , $ this -> get_module_name ( ) , $ this -> get_instance ( ) -> name , $ this -> is_blind_marking ( ) , $ uniqueid ) ; }
docstring: Message someone about something.
  
  @param stdClass $userfrom
  @param stdClass $userto
  @param string $messagetype
  @param string $eventtype
  @param int $updatetime
  @return void
docstring_tokens: Message someone about something .