MDL-52664 forum: Fix forum email unsubscribe/discussion URL
authorSkylar Kelty <S.Kelty@kent.ac.uk>
Wed, 6 Jan 2016 12:50:50 +0000 (12:50 +0000)
committerSkylar Kelty <S.Kelty@kent.ac.uk>
Wed, 6 Jan 2016 12:50:50 +0000 (12:50 +0000)
mod/forum/classes/output/forum_post.php

index b91382e..431dad6 100644 (file)
@@ -338,7 +338,7 @@ class forum_post implements \renderable {
      */
     public function get_unsubscribediscussionlink() {
         $link = new \moodle_url(
-            '/mod/discussion/subscribe.php', array(
+            '/mod/forum/subscribe.php', array(
                 'id'  => $this->forum->id,
                 'd'   => $this->discussion->id,
             )