This commit is contained in:
Dan Poltawski 2014-03-11 15:30:02 +08:00 committed by Eloy Lafuente (stronk7)
commit d8085046ba
2 changed files with 2 additions and 2 deletions

View File

@ -75,7 +75,7 @@ class note_created extends \core\event\base {
* @return \moodle_url
*/
public function get_url() {
$logurl = new \moodle_url('/note/index.php', array('course' => $this->courseid, 'user' => $this->relateduserid));
$logurl = new \moodle_url('/notes/index.php', array('course' => $this->courseid, 'user' => $this->relateduserid));
$logurl->set_anchor('note-' . $this->objectid);
return $logurl;
}

View File

@ -75,7 +75,7 @@ class note_updated extends \core\event\base {
* @return \moodle_url
*/
public function get_url() {
$logurl = new \moodle_url('/note/index.php', array('course' => $this->courseid, 'user' => $this->relateduserid));
$logurl = new \moodle_url('/notes/index.php', array('course' => $this->courseid, 'user' => $this->relateduserid));
$logurl->set_anchor('note-' . $this->objectid);
return $logurl;
}