| 123456789101112131415161718192021222324252627282930 |
- <?php
- namespace ModulesGarden\ProxmoxAddon\App\Configuration\Addon\Update\Patch;
- use Illuminate\Database\Capsule\Manager as DB;
- use ModulesGarden\ProxmoxAddon\App\Configuration\Addon\Update\DefaultPatch;
- use ModulesGarden\ProxmoxAddon\Core\Helper;
- /**
- * Description of M2M6P0
- *
- * @author <slawomir@modulesgarden.com>
- */
- class M2M7P3 extends DefaultPatch
- {
- public function execute()
- {
- if ($this->runSchema())
- {
- Helper\sl('logger')
- ->addDebug("Correctly installed update {$this->getVersion()} .", []);
- }
- else
- {
- Helper\sl('errorManager')
- ->addError(self::class, "Incorrectly installed update {$this->getVersion()} .", []);
- }
- $this->up();
- }
- }
|