From 0f562ab27e616e3d0c3c3a77d9292263d81aab19 Mon Sep 17 00:00:00 2001 From: Yonas Habteab Date: Fri, 22 Apr 2022 09:29:52 +0200 Subject: [PATCH] Remove ModuleDashlet trait --- .../Web/Dashboard/Common/ModuleDashlet.php | 70 ------------------- 1 file changed, 70 deletions(-) delete mode 100644 library/Icinga/Web/Dashboard/Common/ModuleDashlet.php diff --git a/library/Icinga/Web/Dashboard/Common/ModuleDashlet.php b/library/Icinga/Web/Dashboard/Common/ModuleDashlet.php deleted file mode 100644 index 3eed50201..000000000 --- a/library/Icinga/Web/Dashboard/Common/ModuleDashlet.php +++ /dev/null @@ -1,70 +0,0 @@ -module; - } - - /** - * Set the name of the module which provides this dashlet - * - * @param string $module - * - * @return $this - */ - public function setModule(string $module): self - { - $this->module = $module; - - return $this; - } - - /** - * Get whether this widget originates from a module - * - * @return bool - */ - public function isModuleDashlet(): bool - { - return $this->moduleDashlet; - } - - /** - * Set whether this dashlet widget is provided by a module - * - * @param bool $moduleDashlet - * - * @return $this - */ - public function setModuleDashlet(bool $moduleDashlet): self - { - $this->moduleDashlet = $moduleDashlet; - - return $this; - } -}