Commit 2b0d99b8 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Remove assignment now made obsolete by forum indent changes


Signed-off-by: default avatarRichard Mansfield <richardm@catalyst.net.nz>
parent c80e64ac
......@@ -288,10 +288,7 @@ function buildflatposts(&$posts) {
function buildsubjects($postindex, $parentsubject, &$posts) {
$localposts = $posts;
if ($posts[$postindex]->subject) {
$parentsubject = $posts[$postindex]->subject;
}
else {
if (!$posts[$postindex]->subject) {
$posts[$postindex]->subject = get_string('re', 'interaction.forum', $parentsubject);
}
foreach ($localposts as $index => $post) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment