| @@ 702-716 (lines=15) @@ | ||
| 699 | return $this; |
|
| 700 | } |
|
| 701 | ||
| 702 | public function 削除() |
|
| 703 | { |
|
| 704 | $this->ManagePage->ストアプラグイン_削除($this->code); |
|
| 705 | ||
| 706 | $this->initialized = false; |
|
| 707 | $this->enabled = false; |
|
| 708 | ||
| 709 | $this->検証(); |
|
| 710 | ||
| 711 | $this->em->refresh($this->Plugin); |
|
| 712 | $this->Plugin = $this->pluginRepository->findByCode($this->code); |
|
| 713 | $this->I->assertNull($this->Plugin, '削除されている'); |
|
| 714 | ||
| 715 | return $this; |
|
| 716 | } |
|
| 717 | ||
| 718 | public function アップデート() |
|
| 719 | { |
|
| @@ 809-825 (lines=17) @@ | ||
| 806 | return $this; |
|
| 807 | } |
|
| 808 | ||
| 809 | public function 削除() |
|
| 810 | { |
|
| 811 | $this->ManagePage->独自プラグイン_削除($this->code); |
|
| 812 | ||
| 813 | $this->initialized = false; |
|
| 814 | $this->enabled = false; |
|
| 815 | ||
| 816 | $this->I->see('プラグインを削除しました。', PluginManagePage::完了メーッセージ); |
|
| 817 | ||
| 818 | $this->検証(); |
|
| 819 | ||
| 820 | $this->em->refresh($this->Plugin); |
|
| 821 | $this->Plugin = $this->pluginRepository->findByCode($this->code); |
|
| 822 | $this->I->assertNull($this->Plugin, '削除されている'); |
|
| 823 | ||
| 824 | return $this; |
|
| 825 | } |
|
| 826 | ||
| 827 | public function アップデート() |
|
| 828 | { |
|