Permalink
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...
1 parent 89b2800 commit 9bb6e09468f131d4c27e5af7489c46c6c2e5a8dd Rossiani Wijaya committed Jul 11, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 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);

0 comments on commit 9bb6e09

Please sign in to comment.