| @@ 681-695 (lines=15) @@ | ||
| 678 | return $this; |
|
| 679 | } |
|
| 680 | ||
| 681 | public function 削除() |
|
| 682 | { |
|
| 683 | $this->ManagePage->ストアプラグイン_削除($this->code); |
|
| 684 | ||
| 685 | $this->initialized = false; |
|
| 686 | $this->enabled = false; |
|
| 687 | ||
| 688 | $this->検証(); |
|
| 689 | ||
| 690 | $this->em->refresh($this->Plugin); |
|
| 691 | $this->Plugin = $this->pluginRepository->findByCode($this->code); |
|
| 692 | $this->I->assertNull($this->Plugin, '削除されている'); |
|
| 693 | ||
| 694 | return $this; |
|
| 695 | } |
|
| 696 | ||
| 697 | public function アップデート() |
|
| 698 | { |
|
| @@ 788-804 (lines=17) @@ | ||
| 785 | return $this; |
|
| 786 | } |
|
| 787 | ||
| 788 | public function 削除() |
|
| 789 | { |
|
| 790 | $this->ManagePage->独自プラグイン_削除($this->code); |
|
| 791 | ||
| 792 | $this->initialized = false; |
|
| 793 | $this->enabled = false; |
|
| 794 | ||
| 795 | $this->I->see('プラグインを削除しました。', PluginManagePage::完了メーッセージ); |
|
| 796 | ||
| 797 | $this->検証(); |
|
| 798 | ||
| 799 | $this->em->refresh($this->Plugin); |
|
| 800 | $this->Plugin = $this->pluginRepository->findByCode($this->code); |
|
| 801 | $this->I->assertNull($this->Plugin, '削除されている'); |
|
| 802 | ||
| 803 | return $this; |
|
| 804 | } |
|
| 805 | ||
| 806 | public function アップデート() |
|
| 807 | { |
|