@@ -33,29 +33,29 @@ |
||
| 33 | 33 | */ |
| 34 | 34 | class InstallService extends AbstractInstallService |
| 35 | 35 | { |
| 36 | - /** |
|
| 37 | - * Executes the setup tasks if extension is installed. |
|
| 38 | - * |
|
| 39 | - * @param string $extensionKey Installed extension key |
|
| 40 | - */ |
|
| 41 | - public function afterInstall($extensionKey) |
|
| 42 | - { |
|
| 43 | - if ($extensionKey == $this->extensionKey) |
|
| 44 | - { |
|
| 45 | - // insert custom code here |
|
| 46 | - } |
|
| 47 | - } |
|
| 36 | + /** |
|
| 37 | + * Executes the setup tasks if extension is installed. |
|
| 38 | + * |
|
| 39 | + * @param string $extensionKey Installed extension key |
|
| 40 | + */ |
|
| 41 | + public function afterInstall($extensionKey) |
|
| 42 | + { |
|
| 43 | + if ($extensionKey == $this->extensionKey) |
|
| 44 | + { |
|
| 45 | + // insert custom code here |
|
| 46 | + } |
|
| 47 | + } |
|
| 48 | 48 | |
| 49 | - /** |
|
| 50 | - * Executes the setup tasks if extension is uninstalled. |
|
| 51 | - * |
|
| 52 | - * @param string $extensionKey Uninstalled extension key |
|
| 53 | - */ |
|
| 54 | - public function afterUninstall($extensionKey) |
|
| 55 | - { |
|
| 56 | - if ($extensionKey == $this->extensionKey) |
|
| 57 | - { |
|
| 58 | - // insert custom code here |
|
| 59 | - } |
|
| 60 | - } |
|
| 49 | + /** |
|
| 50 | + * Executes the setup tasks if extension is uninstalled. |
|
| 51 | + * |
|
| 52 | + * @param string $extensionKey Uninstalled extension key |
|
| 53 | + */ |
|
| 54 | + public function afterUninstall($extensionKey) |
|
| 55 | + { |
|
| 56 | + if ($extensionKey == $this->extensionKey) |
|
| 57 | + { |
|
| 58 | + // insert custom code here |
|
| 59 | + } |
|
| 60 | + } |
|
| 61 | 61 | } |