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 f6f6138 commit 0d3780a1e8127ff82b4f8df8f03f421c614d3607 @rwijaya rwijaya committed Jul 11, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/forum/lib.php
View
2 mod/forum/lib.php
@@ -4601,7 +4601,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 0d3780a

Please sign in to comment.