public static function getDeleteTableLogTables()
    {
        $provider = StaticContainer::get('Piwik\Plugin\LogTablesProvider');

        $result = array();
        foreach ($provider->getAllLogTables() as $logTable) {

            if ($logTable->getColumnToJoinOnIdVisit()) {
                $result[] = Common::prefixTable($logTable->getName());
            }
        }

        if (Db::isLockPrivilegeGranted()) {
            $result[] = Common::prefixTable('log_action');
        }

        return $result;
    }
public static function getDeleteTableLogTables()
    {
        $provider = StaticContainer::get('Piwik\Plugin\LogTablesProvider');

        $result = array();
        foreach ($provider->getAllLogTables() as $logTable) {

            if ($logTable->getColumnToJoinOnIdVisit()) {
                $result[] = Common::prefixTable($logTable->getName());
            }
        }

        if (Db::isLockPrivilegeGranted()) {
            $result[] = Common::prefixTable('log_action');
        }

        return $result;
    }
public static function getDeleteTableLogTables ( ) { $ provider = StaticContainer :: get ( 'Piwik\Plugin\LogTablesProvider' ) ; $ result = array ( ) ; foreach ( $ provider -> getAllLogTables ( ) as $ logTable ) { if ( $ logTable -> getColumnToJoinOnIdVisit ( ) ) { $ result [ ] = Common :: prefixTable ( $ logTable -> getName ( ) ) ; } } if ( Db :: isLockPrivilegeGranted ( ) ) { $ result [ ] = Common :: prefixTable ( 'log_action' ) ; } return $ result ; }
let's hardcode, since these are not dynamically created tables
let s hardcode since these are not dynamically created tables