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