Code Duplication    Length = 3-3 lines in 2 locations

include/preferences.inc.php 2 locations

@@ 59-61 (lines=3) @@
56
        }
57
58
        // if has comments feature, need comment lang file
59
        if ($module->getVar('hascomments') == 1) {
60
            require_once XOOPS_ROOT_PATH . '/language/' . $xoopsConfig['language'] . '/comment.php';
61
        }
62
        // RMV-NOTIFY
63
        // if has notification feature, need notification lang file
64
        if ($module->getVar('hasnotification') == 1) {
@@ 64-66 (lines=3) @@
61
        }
62
        // RMV-NOTIFY
63
        // if has notification feature, need notification lang file
64
        if ($module->getVar('hasnotification') == 1) {
65
            require_once XOOPS_ROOT_PATH . '/language/' . $xoopsConfig['language'] . '/notification.php';
66
        }
67
68
        $modname     = $module->getVar('name');
69
        $button_tray = new XoopsFormElementTray('');