wtf? duplicate code

This commit is contained in:
Michael Foster 2013-08-29 08:17:32 +10:00
parent 09027cd8ae
commit aa27a22f7c

View File

@ -1776,12 +1776,6 @@ function buildThread($id, $return = false, $mod = false) {
$jsonFilename = $board['dir'] . $config['dir']['res'] . $id . '.json';
file_write($jsonFilename, $json);
}
if ($return) {
return $body;
} else {
file_write($board['dir'] . $config['dir']['res'] . sprintf($config['file_page'], $id), $body);
}
}
function rrmdir($dir) {