[icinga-checkins] icinga.org: icingaweb2-module-director/master: IcingaServiceTemplateTable: do not override...

git at icinga.org git at icinga.org
Wed Dec 14 21:22:02 CET 2016


Module: icingaweb2-module-director
Branch: master
Commit: 36e79b97cdf286f1e0f25b893946913666742c77
URL:    https://git.icinga.org/?p=icingaweb2-module-director.git;a=commit;h=36e79b97cdf286f1e0f25b893946913666742c77

Author: Thomas Gelf <thomas at gelf.net>
Date:   Wed Dec 14 21:19:12 2016 +0100

IcingaServiceTemplateTable: do not override...

...anything at all. Now you're sooo empty. Soon you'll die... har har har...

fixes #13585

---

 application/tables/IcingaServiceTemplateTable.php |    6 ------
 1 file changed, 6 deletions(-)

diff --git a/application/tables/IcingaServiceTemplateTable.php b/application/tables/IcingaServiceTemplateTable.php
index e5cbe35..2cc38d4 100644
--- a/application/tables/IcingaServiceTemplateTable.php
+++ b/application/tables/IcingaServiceTemplateTable.php
@@ -2,12 +2,6 @@
 
 namespace Icinga\Module\Director\Tables;
 
-use Icinga\Module\Director\Tables\IcingaServiceTable;
-
 class IcingaServiceTemplateTable extends IcingaServiceTable
 {
-    public function getBaseQuery()
-    {
-        return $this->getUnfilteredQuery()->where('s.object_type = ?', 'template');
-    }
 }



More information about the icinga-checkins mailing list