Changeset 683 for trunk/inc/update_state.php
- Timestamp:
- Jan 23, 2010, 5:23:04 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/inc/update_state.php
r682 r683 13 13 // Check logon servers 14 14 $System = new System($Config); 15 $DbResult = $System->Database->query('SELECT Logon.Id, Host.Address, Logon.Port FROM Logon JOIN Host ON Host.Id=Logon.Host ');15 $DbResult = $System->Database->query('SELECT Logon.Id, Host.Address, Logon.Port FROM Logon JOIN Host ON Host.Id=Logon.Host AND Logon.Enabled=1'); 16 16 while($Logon = $DbResult->fetch_assoc()) 17 17 { … … 23 23 24 24 // Check realms 25 $DbResult = $System->Database->query('SELECT Realm.Id, Host.Address, Realm.Port FROM Realm JOIN Host ON Host.Id=Realm.Host ');25 $DbResult = $System->Database->query('SELECT Realm.Id, Host.Address, Realm.Port FROM Realm JOIN Host ON Host.Id=Realm.Host AND Realm.Enabled=1'); 26 26 while($Realm = $DbResult->fetch_assoc()) 27 27 {
Note:
See TracChangeset
for help on using the changeset viewer.