Code Duplication    Length = 10-11 lines in 2 locations

htdocs/util/watchlist/runwatch.php 2 locations

@@ 463-473 (lines=11) @@
460
        case 0:
461
            $cachelists = '';
462
            break;
463
        case 1:
464
            $cachelists =
465
                $translate->t(
466
                    'Cache list:',
467
                    '',
468
                    basename(__FILE__),
469
                    __LINE__,
470
                    '',
471
                    1,
472
                    $language
473
                ) . ' ' . $cachelist_names[0] . "\n";
474
            break;
475
        default:
476
            $cachelists =
@@ 475-484 (lines=10) @@
472
                    $language
473
                ) . ' ' . $cachelist_names[0] . "\n";
474
            break;
475
        default:
476
            $cachelists =
477
                $translate->t(
478
                    'Cache lists:',
479
                    '',
480
                    basename(__FILE__),
481
                    __LINE__,
482
                    '',
483
                    1,
484
                    $language
485
                ) . ' ' . implode(', ', $cachelist_names) . "\n";
486
    }
487
    $watchtext = mb_ereg_replace('{cachelists}', $cachelists, $watchtext);