mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
newline fixes
git-svn-id: http://www.observium.org/svn/observer/trunk@1058 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -26,7 +26,6 @@ if($debug) {
|
||||
$month = time() - (31 * 24 * 60 * 60);
|
||||
$year = time() - (365 * 24 * 60 * 60);
|
||||
|
||||
|
||||
# Load the settings for Multi-Tenancy.
|
||||
if (is_array($config['branding'])) {
|
||||
if ($config['branding'][$_SERVER['SERVER_NAME']]) {
|
||||
|
||||
@@ -224,7 +224,7 @@ while ($device = mysql_fetch_array($device_query)) {
|
||||
$poll_update_query .= " WHERE `device_id` = '" . $device['device_id'] . "'";
|
||||
if($debug) {echo("Updating " . $device['hostname'] . " - $poll_update_query \n");}
|
||||
$poll_update_result = mysql_query($poll_update_query);
|
||||
if(mysql_affected_rows() == "1") { echo("UPDATED!"); } else { echo("NOT UPDATED!"); }
|
||||
if(mysql_affected_rows() == "1") { echo("UPDATED!\n"); } else { echo("NOT UPDATED!\n"); }
|
||||
} else {
|
||||
echo("No Changes to " . $device['hostname'] . "\n");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user