mirror of
https://github.com/Icinga/icinga-php-thirdparty.git
synced 2025-07-22 21:24:43 +02:00
vendor/autoload: no failure on master, show error
This commit is contained in:
parent
3d43c8e98f
commit
dc6418e888
20
vendor/autoload.php
vendored
Normal file
20
vendor/autoload.php
vendored
Normal 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');
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user