CubeLinks: implement Cube v1.0.0 action hook

fixes #13379
This commit is contained in:
Thomas Gelf 2016-12-01 15:08:04 +01:00
parent ddc4b9321b
commit 0bb1df2f77
2 changed files with 3 additions and 3 deletions

View File

@ -2,13 +2,13 @@
namespace Icinga\Module\Director\ProvidedHook;
use Icinga\Module\Cube\Hook\ActionLinksHook;
use Icinga\Module\Cube\Hook\ActionsHook;
use Icinga\Module\Cube\Cube;
use Icinga\Module\Cube\Ido\IdoHostStatusCube;
use Icinga\Data\Filter\Filter;
use Icinga\Web\View;
class CubeLinks extends ActionLinksHook
class CubeLinks extends ActionsHook
{
public function prepareActionLinks(Cube $cube, View $view)
{

View File

@ -43,4 +43,4 @@ $this->provideHook('director/Job', $prefix . 'Job\\ConfigJob');
$this->provideHook('director/Job', $prefix . 'Job\\ImportJob');
$this->provideHook('director/Job', $prefix . 'Job\\SyncJob');
$this->provideHook('cube/ActionLinks', 'CubeLinks');
$this->provideHook('cube/Actions', 'CubeLinks');