Skip to content

Commit f3f731c

Browse files
authored
Merge pull request #124 from learnweb/fix/duplicatetitle
bug fixed, only moodleoverflow header displayed
2 parents 125cc5a + de78d83 commit f3f731c

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

post.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,6 @@
436436

437437
// Request a confirmation to delete the post.
438438
echo $OUTPUT->header();
439-
echo $OUTPUT->heading(format_string($moodleoverflow->name), 2);
440439
echo $OUTPUT->confirm(get_string("deletesureplural", "moodleoverflow", $replycount + 1),
441440
"post.php?delete=$delete&confirm=$delete", $CFG->wwwroot . '/mod/moodleoverflow/discussion.php?d=' .
442441
$post->discussion . '#p' . $post->id);
@@ -446,7 +445,6 @@
446445

447446
// Print a confirmation message.
448447
echo $OUTPUT->header();
449-
echo $OUTPUT->heading(format_string($moodleoverflow->name), 2);
450448
echo $OUTPUT->confirm(get_string("deletesure", "moodleoverflow", $replycount),
451449
"post.php?delete=$delete&confirm=$delete",
452450
$CFG->wwwroot . '/mod/moodleoverflow/discussion.php?d=' . $post->discussion . '#p' . $post->id);
@@ -777,12 +775,6 @@
777775

778776
// Display the header.
779777
echo $OUTPUT->header();
780-
echo $OUTPUT->heading(format_string($moodleoverflow->name), 2);
781-
782-
// Show the description of the instance.
783-
if (!empty($moodleoverflow->intro)) {
784-
echo $OUTPUT->box(format_module_intro('moodleoverflow', $moodleoverflow, $cm->id), 'generalbox', 'intro');
785-
}
786778

787779
// Display the form.
788780
$mformpost->display();

0 commit comments

Comments
 (0)