/** * {@inheritDoc} */ protected function attachDefaultListeners() { $events = $this->events; $events->attach('uninstall.post', array($this, 'updateConfig'), 1); parent::attachDefaultListeners(); return $this; }
/** * {@inheritDoc} */ protected function attachDefaultListeners() { $events = $this->events; $events->attach('uninstall.pre', array($this, 'checkModules'), 1000); $events->attach('uninstall.post', array($this, 'dropTables'), -1000); parent::attachDefaultListeners(); return $this; }