public function completeAction() { // Check for modifications to installer (to prevent problems) if (!$this->_checkForModifications()) { return; } // Load the transaction from the cache $transaction = $this->_loadTransaction(); $this->view->installNavigation = $this->getInstallNavigation('complete'); $vfs = $this->_session->vfsInstance; // Let's do some clean-up $this->_packageManager->cleanup($transaction); // Try to flush the scaffold cache try { Engine_Package_Utilities::fsRmdirRecursive(APPLICATION_PATH . '/temporary/scaffold', false); } catch (Exception $e) { } // Try to increment the site counter try { $db = Zend_Registry::get('Zend_Db'); $db->update('engine4_core_settings', array('value' => new Zend_Db_Expr('value + 1')), array('name = ?' => 'core.site.counter')); } catch (Exception $e) { // Silence } $this->_session->unsetAll(); }
public function completeAction() { // Check for modifications to installer (to prevent problems) if (!$this->_checkForModifications()) { return; } // Load the transaction from the cache $transaction = $this->_loadTransaction(); $this->view->installNavigation = $this->getInstallNavigation('complete'); $vfs = $this->_session->vfsInstance; // Let's do some clean-up $this->_packageManager->cleanup($transaction); $this->_session->unsetAll(); }