[icinga-checkins] icinga.org: icingaweb2-module-director/fiddle/mfrosch: Db: Add enumCommandTemplates

git at icinga.org git at icinga.org
Tue May 24 17:22:13 CEST 2016


Module: icingaweb2-module-director
Branch: fiddle/mfrosch
Commit: b2b2140dcf165a5b99eef999a4a00bfd2d7b029f
URL:    https://git.icinga.org/?p=icingaweb2-module-director.git;a=commit;h=b2b2140dcf165a5b99eef999a4a00bfd2d7b029f

Author: Markus Frosch <lazyfrosch at icinga.org>
Date:   Tue May 24 10:48:54 2016 +0200

Db: Add enumCommandTemplates

Needed by Sync

---

 library/Director/Db.php |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/library/Director/Db.php b/library/Director/Db.php
index 9addeb3..76e5583 100644
--- a/library/Director/Db.php
+++ b/library/Director/Db.php
@@ -577,6 +577,11 @@ class Db extends DbConnection
         return $this->enumIcingaObjects('command');
     }
 
+    public function enumCommandTemplates()
+    {
+        return $this->enumIcingaTemplates('command');
+    }
+
     public function enumTimeperiods()
     {
         return $this->enumIcingaObjects('timeperiod');



More information about the icinga-checkins mailing list