MDL-25068 forum: fixed error string usage
authorDavid Mudrak <david.mudrak@gmail.com>
Tue, 7 Dec 2010 12:34:35 +0000 (12:34 +0000)
committerDavid Mudrak <david.mudrak@gmail.com>
Tue, 7 Dec 2010 12:34:35 +0000 (12:34 +0000)
commitd1571da6c8d23f108e3246a1ff2b9a5d8df646fd
tree38ef2632054c69b10c58f51866903b95f4f01a8b
parent9a3adb2032c0b44c58473329310172c7ded7903b
MDL-25068 forum: fixed error string usage

The string [cannotsubscribe,mod_forum] is supposed to be used for group
membership check only. I have fixed the two other usages of the string.
Note that the condition if (forum_subscribe()) was useless as the
function return true values only now after $DB conversion.
mod/forum/subscribe.php