Skip to content

Commit

Permalink
added update function
Browse files Browse the repository at this point in the history
  • Loading branch information
FCStephanAltmann committed Apr 10, 2019
1 parent c7314ba commit fdd8151
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions viaebShopwareAfterbuy.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
use Shopware\Components\Plugin\Context\InstallContext;
use Shopware\Components\Plugin\Context\UninstallContext;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Shopware\Components\Plugin\Context\UpdateContext;

/**
* Shopware-Plugin FatchipAfterbuy.
Expand All @@ -26,6 +27,15 @@ public function build(ContainerBuilder $container)
parent::build($container);
}

/**
* @param UpdateContext $context
*/
public function update(UpdateContext $context) {
parent::update($context);

$this->updateAttributes();
}

/**
* @param InstallContext $context
* @throws \Doctrine\ORM\OptimisticLockException
Expand Down

0 comments on commit fdd8151

Please sign in to comment.