[icinga-checkins] icinga.org: icinga-web/master: * Fixed wrong contact alias name in api

git at icinga.org git at icinga.org
Wed Aug 31 14:54:59 CEST 2011


Module: icinga-web
Branch: master
Commit: bfa780f27b45c16d19fdbd6f760f96be00caeec9
URL:    https://git.icinga.org/?p=icinga-web.git;a=commit;h=bfa780f27b45c16d19fdbd6f760f96be00caeec9

Author: Jannis Moßhammer <jannis.mosshammer at netways.de>
Date:   Wed Aug 31 14:16:33 2011 +0200

* Fixed wrong contact alias name in api

---

 .../models/generated/BaseIcingaServices.php        |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/app/modules/Api/lib/database/models/generated/BaseIcingaServices.php b/app/modules/Api/lib/database/models/generated/BaseIcingaServices.php
index 4f7dada..8f34625 100644
--- a/app/modules/Api/lib/database/models/generated/BaseIcingaServices.php
+++ b/app/modules/Api/lib/database/models/generated/BaseIcingaServices.php
@@ -614,7 +614,7 @@ abstract class BaseIcingaServices extends Doctrine_Record {
         ///Retrieved by custom finder
         $this->hasMany("IcingaContacts as contacts", array(
                            'local' => 'service_id',
-                           'foreign' => 'contactgroup_object_id',
+                           'foreign' => 'contact_object_id',
                            'refClass' => 'IcingaServiceContacts',
                            'idField' => 'service_id'
                        ));





More information about the icinga-checkins mailing list