Code Duplication    Length = 8-8 lines in 2 locations

application/modules/sitemap/sitemap.php 2 locations

@@ 362-369 (lines=8) @@
359
            foreach ($this->langs as $lang_indentif => $lang) {
360
                if ($lang['id'] != $this->default_lang['id']) {
361
                    $url = $lang_indentif . '/' . $category['path_url'];
362
                    if ($this->not_blocked_url($url)) {
363
                        $this->items[] = [
364
                                          'loc'        => site_url($url),
365
                                          'changefreq' => $changefreq,
366
                                          'priority'   => $priority,
367
                                          'lastmod'    => $date,
368
                                         ];
369
                    }
370
                }
371
            }
372
@@ 455-462 (lines=8) @@
452
                $c_priority = $this->pages_priority;
453
            }
454
455
            if ($this->not_blocked_url($url_page)) {
456
                $this->items[] = [
457
                                  'loc'        => $url,
458
                                  'changefreq' => $this->pages_changefreq,
459
                                  'priority'   => $c_priority,
460
                                  'lastmod'    => $date,
461
                                 ];
462
            }
463
464
        }
465
    }