mirror of
https://github.com/moodle/moodle.git
synced 2025-03-22 08:30:04 +01:00
MDL-45381 mod_forum: changed event URL for subscription created/deleted events
This commit is contained in:
parent
7a4832ecb9
commit
f09561cbb5
@ -77,7 +77,7 @@ class subscription_created extends \core\event\base {
|
||||
* @return \moodle_url
|
||||
*/
|
||||
public function get_url() {
|
||||
return new \moodle_url('/mod/forum/view.php', array('f' => $this->other['forumid']));
|
||||
return new \moodle_url('/mod/forum/subscribers.php', array('id' => $this->other['forumid']));
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -77,7 +77,7 @@ class subscription_deleted extends \core\event\base {
|
||||
* @return \moodle_url
|
||||
*/
|
||||
public function get_url() {
|
||||
return new \moodle_url('/mod/forum/view.php', array('f' => $this->other['forumid']));
|
||||
return new \moodle_url('/mod/forum/subscribers.php', array('id' => $this->other['forumid']));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user