From 8f4d74af1bb5b1fabbf0059ebb45c911f8b77f3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=AE=E3=81=B6?= Date: Tue, 30 Aug 2022 18:40:41 +0900 Subject: [PATCH] =?UTF-8?q?ref=20#95=20=E3=82=A2=E3=83=B3=E3=82=A4?= =?UTF-8?q?=E3=83=B3=E3=82=B9=E3=83=88=E3=83=BC=E3=83=AB=E6=99=82=E3=81=AB?= =?UTF-8?q?=E9=85=8D=E4=BF=A1=E5=B1=A5=E6=AD=B4=E3=83=87=E3=83=BC=E3=82=BF?= =?UTF-8?q?=E3=82=92=E5=89=8A=E9=99=A4=E3=81=99=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PluginManager.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/PluginManager.php b/PluginManager.php index dfb292c..b438478 100644 --- a/PluginManager.php +++ b/PluginManager.php @@ -14,7 +14,15 @@ 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')); + } }