Merge branch 'MDL-43178_forum' of https://github.com/andyjdavis/moodle
[moodle.git] / mod / forum / lib.php
index a6f8a30..7696f07 100644 (file)
@@ -8498,8 +8498,6 @@ function forum_set_user_maildigest($forum, $maildigest, $user = null) {
             $subscription->id = $DB->insert_record('forum_digests', $subscription);
         }
     }
-
-    return true;
 }
 
 /**