MDL-9424 Removing call to MDL1.8 function

This commit is contained in:
donal72
2007-04-18 06:56:33 +00:00
parent 0c34a17b09
commit 61e35a87da
+2 -2
View File
@@ -388,8 +388,8 @@ function forum_cron() {
$groupmode = false;
if (!empty($cm->id)) {
if ($groupmode = groupmode($course, $cm) and $discussion->groupid > 0) { // Groups are being used
if (! groups_group_exists($discussion->groupid)) { // Can't find group //TODO:
continue; // Be safe and don't send it to anyone
if (!$group = get_record('groups', 'id', $discussion->groupid)) { // Can't find group
continue; // Be safe and don't send it to anyone
}
}
}