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 a938306 commit 153694ed0a26f1360f5c5b3049ec801f9c6811c3 @rwijaya rwijaya committed Jul 11, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/forum/lib.php
View
@@ -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 153694e

Please sign in to comment.