@@ -30,7 +30,6 @@ |
||
| 30 | 30 | use Eccube\Util\FormUtil; |
| 31 | 31 | use Knp\Component\Pager\Paginator; |
| 32 | 32 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
| 33 | -use Symfony\Component\HttpFoundation\RedirectResponse; |
|
| 34 | 33 | use Symfony\Component\HttpFoundation\Request; |
| 35 | 34 | use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; |
| 36 | 35 | use Symfony\Component\Routing\Annotation\Route; |
@@ -250,6 +250,9 @@ |
||
| 250 | 250 | $this->updatePluginStatus('/status/uninstalled', $Plugin); |
| 251 | 251 | } |
| 252 | 252 | |
| 253 | + /** |
|
| 254 | + * @param string $url |
|
| 255 | + */ |
|
| 253 | 256 | private function updatePluginStatus($url, Plugin $Plugin) |
| 254 | 257 | { |
| 255 | 258 | if ($Plugin->getSource()) { |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | |
| 25 | 25 | class PluginApiService |
| 26 | 26 | { |
| 27 | - /** |
|
| 27 | + /** |
|
| 28 | 28 | * Url for Api |
| 29 | 29 | * |
| 30 | 30 | * @var string |
@@ -19,7 +19,6 @@ |
||
| 19 | 19 | use Eccube\Common\Constant; |
| 20 | 20 | use Eccube\Common\EccubeConfig; |
| 21 | 21 | use Eccube\Entity\Plugin; |
| 22 | -use Eccube\Exception\PluginApiException; |
|
| 23 | 22 | use Eccube\Exception\PluginException; |
| 24 | 23 | use Eccube\Repository\PluginRepository; |
| 25 | 24 | use Eccube\Service\Composer\ComposerApiService; |