Code Duplication    Length = 4-4 lines in 2 locations

view.article.php 1 location

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

view.blogs.php 1 location

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