Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
MDL-43178 mod_forum: fixed the digest setting confirmation message
  • Loading branch information
andyjdavis committed Jan 10, 2014
1 parent bbb291b commit 2b86079
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 0 additions & 2 deletions mod/forum/lib.php
Expand Up @@ -8498,8 +8498,6 @@ function forum_set_user_maildigest($forum, $maildigest, $user = null) {
$subscription->id = $DB->insert_record('forum_digests', $subscription);
}
}

return true;
}

/**
Expand Down
3 changes: 2 additions & 1 deletion mod/forum/maildigest.php
Expand Up @@ -52,7 +52,8 @@
$info = new stdClass();
$info->name = fullname($USER);
$info->forum = format_string($forum->name);
$info->maildigest = forum_set_user_maildigest($forum, $maildigest);
forum_set_user_maildigest($forum, $maildigest);
$info->maildigest = $maildigest;

if ($maildigest === -1) {
// Get the default maildigest options.
Expand Down

0 comments on commit 2b86079

Please sign in to comment.