vendor/autoload: no failure on master, show error

This commit is contained in:
Thomas Gelf 2018-11-06 13:11:01 +01:00
parent 3d43c8e98f
commit dc6418e888
1 changed files with 20 additions and 0 deletions

20
vendor/autoload.php vendored Normal file
View File

@ -0,0 +1,20 @@
<?php
namespace Icinga\Module\Reactbundle {
use Icinga\Application\Hook\ApplicationStateHook;
class ApplicationState extends ApplicationStateHook
{
public function collectMessages()
{
$this->addError(
'reactbundle.master',
time(),
'Please install a Release version of the Reactbundle module, not the GIT master'
);
}
}
$this->provideHook('ApplicationState', '\\Icinga\\Module\\Reactbundle\\ApplicationState');
}