| @@ 753-769 (lines=17) @@ | ||
| 750 | return $this; |
|
| 751 | } |
|
| 752 | ||
| 753 | public function 削除() |
|
| 754 | { |
|
| 755 | $this->ManagePage->独自プラグイン_削除($this->code); |
|
| 756 | ||
| 757 | $this->initialized = false; |
|
| 758 | $this->enabled = false; |
|
| 759 | ||
| 760 | $this->I->see('プラグインを削除しました。', PluginManagePage::完了メーッセージ); |
|
| 761 | ||
| 762 | $this->検証(); |
|
| 763 | ||
| 764 | $this->em->refresh($this->Plugin); |
|
| 765 | $this->Plugin = $this->pluginRepository->findByCode($this->code); |
|
| 766 | $this->I->assertNull($this->Plugin, '削除されている'); |
|
| 767 | ||
| 768 | return $this; |
|
| 769 | } |
|
| 770 | ||
| 771 | public function アップデート() |
|
| 772 | { |
|
| @@ 646-660 (lines=15) @@ | ||
| 643 | return $this; |
|
| 644 | } |
|
| 645 | ||
| 646 | public function 削除() |
|
| 647 | { |
|
| 648 | $this->ManagePage->ストアプラグイン_削除($this->code); |
|
| 649 | ||
| 650 | $this->initialized = false; |
|
| 651 | $this->enabled = false; |
|
| 652 | ||
| 653 | $this->検証(); |
|
| 654 | ||
| 655 | $this->em->refresh($this->Plugin); |
|
| 656 | $this->Plugin = $this->pluginRepository->findByCode($this->code); |
|
| 657 | $this->I->assertNull($this->Plugin, '削除されている'); |
|
| 658 | ||
| 659 | return $this; |
|
| 660 | } |
|
| 661 | ||
| 662 | public function アップデート() |
|
| 663 | { |
|