[marginalia] r544 committed - Use Moodle release 2.2.3

1 view
Skip to first unread message

margi...@googlecode.com

unread,
Jun 21, 2012, 2:00:35 AM6/21/12
to marginali...@googlegroups.com
Revision: 544
Author: geof.glass
Date: Wed Jun 20 23:00:21 2012
Log: Use Moodle release 2.2.3


http://code.google.com/p/marginalia/source/detail?r=544

Modified:
/moodle/trunk/moodle.orig/mod/forum/lib.php

=======================================
--- /moodle/trunk/moodle.orig/mod/forum/lib.php Wed May 30 15:12:10 2012
+++ /moodle/trunk/moodle.orig/mod/forum/lib.php Wed Jun 20 23:00:21 2012
@@ -4415,7 +4415,7 @@

$context = get_context_instance(CONTEXT_MODULE, $cm->id);

- if ($children != 'ignore' && ($childposts =
$DB->get_records('forum_posts', array('parent'=>$post->id)))) {
+ if ($children !== 'ignore' && ($childposts =
$DB->get_records('forum_posts', array('parent'=>$post->id)))) {
if ($children) {
foreach ($childposts as $childpost) {
forum_delete_post($childpost, true, $course, $cm, $forum,
$skipcompletion);
@@ -5438,7 +5438,8 @@

$discussion->forum = $forum->id;

- forum_print_post($discussion, $discussion, $forum, $cm,
$course, $ownpost, 0, $link, false);
+ forum_print_post($discussion, $discussion, $forum, $cm,
$course, $ownpost, 0, $link, false,
+ '', null, true, $forumtracked);
break;
}
}
Reply all
Reply to author
Forward
0 new messages