MDL-45381 mod_forum: changed event URL for subscription created/deleted events
This commit is contained in:
@@ -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']));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user