Merge pull request #8580 from IonBazan/bugfix/install-notifications

respect `notify-on-install` option
main
Jordi Boggiano 4 years ago committed by GitHub
commit 32e2e09c89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -233,13 +233,13 @@ class Installer
return $res;
}
} catch (\Exception $e) {
if ($this->executeOperations) {
if ($this->executeOperations && $this->config->get('notify-on-install')) {
$this->installationManager->notifyInstalls($this->io);
}
throw $e;
}
if ($this->executeOperations) {
if ($this->executeOperations && $this->config->get('notify-on-install')) {
$this->installationManager->notifyInstalls($this->io);
}

Loading…
Cancel
Save