Alert transport fixes (#8967)

DO NOT DELETE THIS TEXT

#### Please note

> Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting.

- [x] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/)

#### Testers

If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`
This commit is contained in:
Tony Murray
2018-07-31 21:53:03 +01:00
committed by Neil Lathwood
parent 9bc0c542a5
commit deb405fac9
16 changed files with 37 additions and 32 deletions
-7
View File
@@ -90,13 +90,6 @@ if (module_selected('polling', $init_modules)) {
if (module_selected('alerts', $init_modules)) {
require_once $install_dir . '/includes/device-groups.inc.php';
require_once $install_dir . '/includes/alerts.inc.php';
if (module_selected('alerts-cli', $init_modules)) {
// Boot Laravel - we only use it in alerting at present
require $install_dir . '/bootstrap/autoload.php';
$app = require_once $install_dir . '/bootstrap/app.php';
$kernel = $app->make(Illuminate\Contracts\Console\Kernel::class);
$kernel->bootstrap();
}
}
// Display config.php errors instead of http 500