public function hasEnoughTablesToReuseDb($tablesInstalled)
    {
        if (empty($tablesInstalled) || !is_array($tablesInstalled)) {
            return false;
        }

        $archiveTables       = ArchiveTableCreator::getTablesArchivesInstalled();
        $baseTablesInstalled = count($tablesInstalled) - count($archiveTables);
        $minimumCountPiwikTables = 12;

        return $baseTablesInstalled >= $minimumCountPiwikTables;
    }
public function hasEnoughTablesToReuseDb($tablesInstalled)
    {
        if (empty($tablesInstalled) || !is_array($tablesInstalled)) {
            return false;
        }

        $archiveTables       = ArchiveTableCreator::getTablesArchivesInstalled();
        $baseTablesInstalled = count($tablesInstalled) - count($archiveTables);
        $minimumCountPiwikTables = 12;

        return $baseTablesInstalled >= $minimumCountPiwikTables;
    }
public function hasEnoughTablesToReuseDb ( $ tablesInstalled ) { if ( empty ( $ tablesInstalled ) || ! is_array ( $ tablesInstalled ) ) { return false ; } $ archiveTables = ArchiveTableCreator :: getTablesArchivesInstalled ( ) ; $ baseTablesInstalled = count ( $ tablesInstalled ) - count ( $ archiveTables ) ; $ minimumCountPiwikTables = 12 ; return $ baseTablesInstalled >= $ minimumCountPiwikTables ; }
should be private but there's a bug in php 5.3.6
should be private but there s a bug in php 5 . 3 . 6