Code Duplication    Length = 3-3 lines in 2 locations

newtopic.php 1 location

@@ 57-59 (lines=3) @@
54
$GLOBALS['xoopsConfig']['module_cache'][$xoopsModule->getVar('mid')] = 0; // Disable cache
55
include_once $GLOBALS['xoops']->path('header.php');
56
57
if (1 == $GLOBALS['xoopsModuleConfig']['disc_show'] || 3 == $GLOBALS['xoopsModuleConfig']['disc_show']) {
58
    $xoopsTpl->assign('disclaimer', $GLOBALS['xoopsModuleConfig']['disclaimer']);
59
}
60
61
$subject       = '';
62
$message       = '';

reply.php 1 location

@@ 114-116 (lines=3) @@
111
$xoopsTpl->assign("form_title", $form_title);
112
*/
113
114
if ((2 == $GLOBALS['xoopsModuleConfig']['disc_show']) || (3 == $GLOBALS['xoopsModuleConfig']['disc_show'])) {
115
    $xoopsTpl->assign('disclaimer', $GLOBALS['xoopsModuleConfig']['disclaimer']);
116
}
117
118
$xoopsTpl->assign('parentforum', $forumHandler->getParents($forumObject));
119