Code Duplication    Length = 4-4 lines in 2 locations

view.article.php 1 location

@@ 43-46 (lines=4) @@
40
    header('location: ' . XOOPS_URL . '/modules/' . $GLOBALS['moddirname'] . $matches[1]);
41
    exit();
42
}
43
if (preg_match("/\/notification_update\.php/i", Request::getUrl('REQUEST_URI', '', 'SERVER'), $matches)) {
44
    include XOOPS_ROOT_PATH . '/include/notification_update.php';
45
    exit();
46
}
47
48
if ($REQUEST_URI_parsed = PlanetUtility::planetParseArguments($args_num, $args, $args_str)) {
49
    $args['article'] = @$args_num[0];

view.blogs.php 1 location

@@ 34-37 (lines=4) @@
31
32
include __DIR__ . '/header.php';
33
34
if (preg_match("/\/notification_update\.php/i", Request::getUrl('REQUEST_URI', '', 'SERVER'), $matches)) {
35
    include XOOPS_ROOT_PATH . '/include/notification_update.php';
36
    exit();
37
}
38
39
if ($REQUEST_URI_parsed = PlanetUtility::planetParseArguments($args_num, $args, $args_str)) {
40
    $args['start'] = @$args_num[0];