BranchSupportHook: drop linkToBranchedObject

This commit is contained in:
Thomas Gelf 2021-10-05 22:33:05 +02:00
parent b12d50a16a
commit 8601f26f03

View File

@ -4,7 +4,6 @@ namespace Icinga\Module\Director\Hook;
use Icinga\Authentication\Auth;
use Icinga\Module\Director\Dashboard\Dashlet\Dashlet;
use Icinga\Module\Director\Data\Db\DbObject;
use Icinga\Module\Director\Db;
use Icinga\Module\Director\Db\Branch\Branch;
use Icinga\Module\Director\Db\Branch\BranchSTore;
@ -29,15 +28,6 @@ abstract class BranchSupportHook
*/
abstract public function linkToBranch(Branch $branch, Auth $auth, $label = null);
/**
* @param string $label
* @param Branch $branch
* @param DbObject $object
* @param Auth $auth
* @return ?ValidHtml
*/
abstract public function linkToBranchedObject($label, Branch $branch, DbObject $object, Auth $auth);
/**
* @param Db $db
* @return Dashlet[]