Code Duplication    Length = 11-11 lines in 2 locations

_local/run.php 1 location

@@ 54-64 (lines=11) @@
51
    return substr_compare($string, $test, $strlen - $testlen, $testlen) === 0;
52
}
53
54
function getDestinationsForID($id)
55
{
56
    if(strcasecmp($id,'pboyd') === 0)
57
    {
58
        return array('[email protected]');
59
    }
60
    else
61
    {
62
        return false;
63
    }
64
}
65
66
function getActualDestinations($originals)
67
{

api/v1/aws.php 1 location

@@ 89-99 (lines=11) @@
86
    return substr_compare($string, $test, $strlen - $testlen, $testlen) === 0;
87
}
88
89
function getDestinationsForID($id)
90
{
91
    if(strcasecmp($id, 'pboyd') === 0)
92
    {
93
        return array('[email protected]');
94
    }
95
    else
96
    {
97
        return false;
98
    }
99
}
100
101
function getActualDestinations($originals)
102
{