PHP Class Piwik\Updates\Updates_2_14_2

Inheritance: extends Piwik\Updates
Show file Open project: piwik/piwik

Public Methods

Method 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

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

Method Details

__construct() public method

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

doUpdate() public method

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

getMigrations() public method

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
return array