Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-27741 forum subscribe link: Removed 'no' string in social course …

…format to display a subscribe link if user is not enrolled
  • Loading branch information...
commit 9bb6e09468f131d4c27e5af7489c46c6c2e5a8dd 1 parent 89b2800
rwijaya rwijaya authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mod/forum/lib.php
2  mod/forum/lib.php
View
@@ -4605,7 +4605,7 @@ function forum_get_subscribe_link($forum, $context, $messages = array(), $cantac
return $messages['cantaccessgroup'];
} else {
if (!is_enrolled($context, $USER, '', true)) {
- return get_string('no');
+ return '';
}
if (is_null($subscribed_forums)) {
$subscribed = forum_is_subscribed($USER->id, $forum);
Please sign in to comment.
Something went wrong with that request. Please try again.