MDL-45381 mod_forum: changed event URL for subscription created/deleted events

This commit is contained in:
Mark Nelson 2014-06-29 18:37:44 -07:00
parent 7a4832ecb9
commit f09561cbb5
2 changed files with 2 additions and 2 deletions

View File

@ -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']));
}
/**

View File

@ -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']));
}
/**