1
0
Fork 0

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

respect `notify-on-install` option
pull/8590/head
Jordi Boggiano 2020-02-06 14:29:10 +01:00 committed by GitHub
commit 32e2e09c89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

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