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

git at icinga.org git at icinga.org
Tue May 24 14:12:26 CEST 2016


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

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 5217d46..360e0fb 100644
--- a/library/Director/Db.php
+++ b/library/Director/Db.php
@@ -575,6 +575,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