Permalink
Browse files

MDL-47918 forum: Coding style fix

  • Loading branch information...
danpoltawski committed Oct 30, 2014
1 parent ebbf039 commit 0a92904c47d80912046bda26d8d57d07f6100b63
Showing with 2 additions and 2 deletions.
  1. +2 −2 mod/forum/unsubscribeall.php
@@ -68,9 +68,9 @@
if ($count->forums || $count->discussions) {
if ($count->forums && $count->discussions) {
$msg = get_string('unsubscribeallconfirm', 'forum', $count);
} elseif ($count->forums) {
} else if ($count->forums) {
$msg = get_string('unsubscribeallconfirmforums', 'forum', $count);
} elseif ($count->discussions) {
} else if ($count->discussions) {
$msg = get_string('unsubscribeallconfirmdiscussions', 'forum', $count);
}
echo $OUTPUT->confirm($msg, new moodle_url('unsubscribeall.php', array('confirm'=>1)), $return);

0 comments on commit 0a92904

Please sign in to comment.