| @@ 635-649 (lines=15) @@ | ||
| 632 | return $this; |
|
| 633 | } |
|
| 634 | ||
| 635 | public function 削除() |
|
| 636 | { |
|
| 637 | $this->ManagePage->ストアプラグイン_削除($this->code); |
|
| 638 | ||
| 639 | $this->initialized = false; |
|
| 640 | $this->enabled = false; |
|
| 641 | ||
| 642 | $this->検証(); |
|
| 643 | ||
| 644 | $this->em->refresh($this->Plugin); |
|
| 645 | $this->Plugin = $this->pluginRepository->findByCode($this->code); |
|
| 646 | $this->I->assertNull($this->Plugin, '削除されている'); |
|
| 647 | ||
| 648 | return $this; |
|
| 649 | } |
|
| 650 | ||
| 651 | public function アップデート() |
|
| 652 | { |
|
| @@ 740-756 (lines=17) @@ | ||
| 737 | return $this; |
|
| 738 | } |
|
| 739 | ||
| 740 | public function 削除() |
|
| 741 | { |
|
| 742 | $this->ManagePage->独自プラグイン_削除($this->code); |
|
| 743 | ||
| 744 | $this->initialized = false; |
|
| 745 | $this->enabled = false; |
|
| 746 | ||
| 747 | $this->I->see('プラグインを削除しました。', PluginManagePage::完了メーッセージ); |
|
| 748 | ||
| 749 | $this->検証(); |
|
| 750 | ||
| 751 | $this->em->refresh($this->Plugin); |
|
| 752 | $this->Plugin = $this->pluginRepository->findByCode($this->code); |
|
| 753 | $this->I->assertNull($this->Plugin, '削除されている'); |
|
| 754 | ||
| 755 | return $this; |
|
| 756 | } |
|
| 757 | ||
| 758 | public function アップデート() |
|
| 759 | { |
|