From f09561cbb5783fa70869c20cf359929cb129dc75 Mon Sep 17 00:00:00 2001 From: Mark Nelson Date: Sun, 29 Jun 2014 18:37:44 -0700 Subject: [PATCH] MDL-45381 mod_forum: changed event URL for subscription created/deleted events --- mod/forum/classes/event/subscription_created.php | 2 +- mod/forum/classes/event/subscription_deleted.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mod/forum/classes/event/subscription_created.php b/mod/forum/classes/event/subscription_created.php index e5af00fb111..19d53ac8903 100644 --- a/mod/forum/classes/event/subscription_created.php +++ b/mod/forum/classes/event/subscription_created.php @@ -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'])); } /** diff --git a/mod/forum/classes/event/subscription_deleted.php b/mod/forum/classes/event/subscription_deleted.php index 738a5c0e0ad..f011059448c 100644 --- a/mod/forum/classes/event/subscription_deleted.php +++ b/mod/forum/classes/event/subscription_deleted.php @@ -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'])); } /**