Skip to content

Commit

Permalink
Merge branch 'MDL-46721-31' of git://github.com/cameron1729/moodle in…
Browse files Browse the repository at this point in the history
…to MOODLE_31_STABLE
  • Loading branch information
danpoltawski committed Jun 7, 2016
2 parents adaf294 + 2e45871 commit 7512e4d
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions mod/assign/locallib.php
Expand Up @@ -5466,11 +5466,9 @@ public static function send_assignment_notification($userfrom,
* @param int $updatetime
* @return void
*/
public function send_notification($userfrom,
$userto,
$messagetype,
$eventtype,
$updatetime) {
public function send_notification($userfrom, $userto, $messagetype, $eventtype, $updatetime) {
global $USER;
$uniqueid = $this->get_uniqueid_for_user(core_user::is_real_user($userfrom->id) ? $userfrom->id : $USER->id);
self::send_assignment_notification($userfrom,
$userto,
$messagetype,
Expand All @@ -5482,7 +5480,7 @@ public function send_notification($userfrom,
$this->get_module_name(),
$this->get_instance()->name,
$this->is_blind_marking(),
$this->get_uniqueid_for_user($userfrom->id));
$uniqueid);
}

/**
Expand Down

0 comments on commit 7512e4d

Please sign in to comment.