We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@taiwen
In mymodule/config/module.php, we can set module dependency through an array
// Module dependency: list of module directory names, optional 'dependency' => array( ),
We checked the code :
if ($this->event->getParam('upgrade'))
Fichier Pi/Application/Installer/Action/Update.php :
protected function attachDefaultListeners() { $events = $this->events; if ($this->event->getParam('upgrade')) { $events->attach('update.post', array($this, 'removeDependency')); $events->attach('update.post', array($this, 'createDependency')); } return $this; }
Is there something we missed to use this ?
Or is such this change the solution?
protected function attachDefaultListeners() { $events = $this->events; $events->attach('update.pre', array($this, 'checkIndependent')); if ($this->event->getParam('upgrade')) { $events->attach('update.post', array($this, 'removeDependency')); $events->attach('update.post', array($this, 'createDependency')); } return $this; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
@taiwen
In mymodule/config/module.php, we can set module dependency through an array
We checked the code :
if ($this->event->getParam('upgrade'))
Fichier Pi/Application/Installer/Action/Update.php :
Is there something we missed to use this ?
Or is such this change the solution?
The text was updated successfully, but these errors were encountered: