Piwik\Updates\Updates_2_14_2::getNotActuallyInstalledColumnNames PHP Метод

getNotActuallyInstalledColumnNames() приватный статический Метод

private static getNotActuallyInstalledColumnNames ( string $componentPrefix, string $tableName ) : array
$componentPrefix string
$tableName string
Результат array An array of columns that are marked as installed but are actually removed. There was a bug where option entries were not correctly removed. eg array('idvist', 'server_time', ...)
    private static function getNotActuallyInstalledColumnNames($componentPrefix, $tableName)
    {
        $installedVisitColumns = self::getMarkedAsInstalledColumns($componentPrefix);
        $existingVisitColumns = self::getActuallyExistingColumns($tableName);
        return array_diff($installedVisitColumns, $existingVisitColumns);
    }