Piwik\Updates::doUpdate PHP Метод

doUpdate() публичный Метод

This method should preform all updating logic. If you define migrations in an overridden getMigrations() method, you must call {@link Updater::executeMigrations()} here. See {@link \Piwik\Plugins\ExamplePlugin\Updates\Updates_0_0_2} for an example.
public doUpdate ( Updater $updater )
$updater Updater
    public function doUpdate(Updater $updater)
    {
        static::update();
    }