Code Duplication    Length = 8-8 lines in 2 locations

Autoload.php 1 location

@@ 38-45 (lines=8) @@
35
    }
36
}
37
38
if(version_compare(PHP_VERSION, '5.3.0', '>='))
39
{
40
    spl_autoload_register('FlipsideAutoload', true, true);
41
}
42
else
43
{
44
    spl_autoload_register('FlipsideAutoload');
45
}
46
/* vim: set tabstop=4 shiftwidth=4 expandtab: */
47

Data/class.MongoDataSet.php 1 location

@@ 49-56 (lines=8) @@
46
        else
47
        {
48
            require __DIR__.'/../libs/mongofill/src/functions.php';
49
            if(version_compare(PHP_VERSION, '5.3.0', '>='))
50
            {
51
                spl_autoload_register('\Data\MongofillAutoload', true, true);
52
            }
53
            else
54
            {
55
                spl_autoload_register('\Data\MongofillAutoload');
56
            }
57
            $this->setupMongoClient($params);
58
        }
59
    }