PHP Class Piwik\Updates\Updates_2_14_2

Inheritance: extends Piwik\Updates
Afficher le fichier Open project: piwik/piwik

Méthodes publiques

Méthode Description
__construct ( Factory $factory )
doUpdate ( Updater $updater )
getMigrations ( Updater $updater ) : array Removes option entries for columns that are marked as installed but are actually no longer installed due to a bug in previous versions where the option entries were not correctly removed.

Private Methods

Méthode Description
buildRemoveOptionEntrySql ( $optionName )
getActuallyExistingColumns ( string $tableName ) : array
getMarkedAsInstalledColumns ( string $componentPrefix ) : array
getMigrationsThatRemoveOptionEntriesOfNotActuallyInstalledColumns ( $dimensionPrefix, $tableName )
getNotActuallyInstalledColumnNames ( string $componentPrefix, string $tableName ) : array

Method Details

__construct() public méthode

public __construct ( Factory $factory )
$factory Piwik\Updater\Migration\Factory

doUpdate() public méthode

public doUpdate ( Updater $updater )
$updater Piwik\Updater

getMigrations() public méthode

Removes option entries for columns that are marked as installed but are actually no longer installed due to a bug in previous versions where the option entries were not correctly removed.
public getMigrations ( Updater $updater ) : array
$updater Piwik\Updater
Résultat array