Code Duplication    Length = 7-7 lines in 2 locations

htdocs/modules/system/themes/default/default.php 1 location

@@ 284-290 (lines=7) @@
281
            }
282
        }
283
284
        if (is_object($xoopsModule) || !empty($_GET['xoopsorgnews'])) {
285
            if (is_object($xoopsModule) && file_exists($file = XOOPS_ROOT_PATH . '/modules/' . $xoopsModule->getVar('dirname') . '/' . $xoopsModule->getInfo('adminmenu'))) {
286
                include $file;
287
            }
288
289
            return null;
290
        }
291
292
        foreach ($mods as $mod) {
293
            $sadmin = $moduleperm_handler->checkRight('module_admin', $mod->getVar('mid'), $xoopsUser->getGroups());

htdocs/modules/system/themes/transition/transition.php 1 location

@@ 317-323 (lines=7) @@
314
            }
315
        }
316
317
        if (is_object($xoopsModule) || !empty($_GET['xoopsorgnews'])) {
318
            if (is_object($xoopsModule) && file_exists($file = XOOPS_ROOT_PATH . '/modules/' . $xoopsModule->getVar('dirname') . '/' . $xoopsModule->getInfo('adminmenu'))) {
319
                include $file;
320
            }
321
322
            return null;
323
        }
324
325
        foreach ($mods as $mod) {
326
            $sadmin = $moduleperm_handler->checkRight('module_admin', $mod->getVar('mid'), $xoopsUser->getGroups());