diff options
author | Yoshiyuki Asaba | 2007-12-26 08:21:28 +0000 |
---|---|---|
committer | Yoshiyuki Asaba | 2007-12-26 08:21:28 +0000 |
commit | 8ff387faf50ce924d6306afcc5e15437edaa72a2 (patch) | |
tree | 84f5a06b0fe8e37d377493b3e25d48e69da69bdf /nodeStatus.php | |
parent | 20f69a57e636228dcf32364f664273510bfb1da2 (diff) |
Enable 'return' button if all nodes are detached and a node is active.
Diffstat (limited to 'nodeStatus.php')
-rw-r--r-- | nodeStatus.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nodeStatus.php b/nodeStatus.php index 10c4a57..c3ff2f8 100644 --- a/nodeStatus.php +++ b/nodeStatus.php @@ -71,7 +71,8 @@ for($i=0; $i<$nodeCount; $i++) { for ($i = 0; $i < $nodeCount; $i++) { if ($node_alive == false) { - if ($isReplicationMode || $isMasterSlaveMode) + if (($isReplicationMode || $isMasterSlaveMode) && + NodeActive($i)) array_push($nodeInfo[$i], 'return'); else array_push($nodeInfo[$i], 'none'); |