vendor/autoload: no failure on master, show error
This commit is contained in:
parent
3d43c8e98f
commit
dc6418e888
|
@ -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');
|
||||
}
|
Loading…
Reference in New Issue