Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
アンインストール時に配信履歴データを削除する
  • Loading branch information
nobuhiko authored Aug 30, 2022
1 parent 6dc54f3 commit 30c82ec
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions PluginManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,18 @@

namespace Plugin\MailMagazine42;

namespace Plugin\MailMagazine42;

use Eccube\Plugin\AbstractPluginManager;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\Filesystem\Filesystem;

class PluginManager extends AbstractPluginManager
{

public function uninstall(array $meta, ContainerInterface $container)
{
$file = new Filesystem();
$file->remove($container->getParameter('mail_magazine_dir'));
}
}

0 comments on commit 30c82ec

Please sign in to comment.