-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from pwnyprod/Shopware5.2Update
update 5.2
- Loading branch information
Showing
130 changed files
with
5,476 additions
and
281 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
/vendor/ | ||
/.idea | ||
/vendor | ||
.idea |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<?php | ||
|
||
namespace ArvGoogleCertifiedShops; | ||
|
||
use Shopware\Components\Plugin; | ||
use Shopware\Components\Plugin\Context\UpdateContext; | ||
use Symfony\Component\DependencyInjection\ContainerBuilder; | ||
|
||
/** | ||
* Shopware-Plugin ArvGoogleCertifiedShops. | ||
*/ | ||
class ArvGoogleCertifiedShops extends Plugin | ||
{ | ||
|
||
/** | ||
* @param ContainerBuilder $container | ||
*/ | ||
public function build(ContainerBuilder $container) | ||
{ | ||
$container->setParameter('arv_google_certified_shops_new.plugin_dir', $this->getPath()); | ||
parent::build($container); | ||
} | ||
|
||
/** | ||
* @param UpdateContext $context | ||
*/ | ||
public function update(UpdateContext $context) | ||
{ | ||
// Remove update zip if it exists | ||
$updateFile = __DIR__ . '/ArvGoogleCertifiedShops.zip'; | ||
if (file_exists($updateFile)) { | ||
unlink($updateFile); | ||
} | ||
|
||
parent::update($context); | ||
} | ||
|
||
|
||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.