protected function _installResourceDb($newVersion) { parent::_installResourceDb($newVersion); $this->updateInstallationVersionHistory(null, $newVersion); $this->updateCompilation(); return $this; }
protected function _installResourceDb($newVersion) { $this->beforeInstall($newVersion); parent::_installResourceDb($newVersion); $this->afterInstall($newVersion); }
protected function _installResourceDb($newVersion) { // double running protection usleep(1000000); // 1 sec if ($this->isLocked()) { return; } $this->lock(); try { $this->beforeModuleDbModification(); $this->beforeInstall($newVersion); parent::_installResourceDb($newVersion); $this->afterInstall($newVersion); $this->afterModuleDbModification(); } catch (Exception $e) { $this->unlock(); throw $e; } $this->unlock(); }