Piwik\Plugins\ExamplePlugin\Updates\Updates_0_0_2::doUpdate PHP Method

doUpdate() public method

This method should perform all updating logic. If you define queries in the getMigrations() method, you must call {@link Updater::executeMigrations()} here.
public doUpdate ( Updater $updater )
$updater Piwik\Updater
    public function doUpdate(Updater $updater)
    {
        $updater->executeMigrations(__FILE__, $this->getMigrations($updater));
    }