Author: Lars Michelsen <[email protected]>
Date: Thu Jun 13 08:30:09 2013 +0200
Committer: Lars Michelsen <[email protected]>
Commit-Date: Thu Jun 13 08:30:09 2013 +0200
FIX: Fixed demo automap (missing programStart method in demo backend)
---
ChangeLog | 1 +
share/server/core/classes/GlobalBackendTest.php | 6 +++++-
2 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 04fe1e0..78ac03f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,7 @@ Core:
* Added option to perform privilege switch to a user with less permissions
for viewing maps in the context of this user
* FIX: Fixed state weight definition parsing
+ * FIX: Fixed demo automap (missing programStart method in demo backend)
Frontend:
* FIX: Not adding textboxes to "to be updated list" anymore; This might have
diff --git a/share/server/core/classes/GlobalBackendTest.php
b/share/server/core/classes/GlobalBackendTest.php
index bb17e21..4dd9080 100644
--- a/share/server/core/classes/GlobalBackendTest.php
+++ b/share/server/core/classes/GlobalBackendTest.php
@@ -324,10 +324,14 @@ class GlobalBackendTest implements GlobalBackendInterface
{
}
}
- function getHostNamesInHostgroup($group) {
+ public function getHostNamesInHostgroup($group) {
return $this->obj['hostgroup'][$group]['members'];
}
+ public function getProgramStart() {
+ return -1;
+ }
+
function getAllTypeObjects($type) {
if($type == 'service') {
$s = Array();
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins