missing file!

git-svn-id: http://www.observium.org/svn/observer/trunk@199 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2008-03-23 21:32:54 +00:00
parent 7394b0c1db
commit 126fbc630d
11 changed files with 117 additions and 16 deletions
+4
View File
@@ -14,6 +14,10 @@ if(!$config['enable_syslog']) {
exit();
}
## Delete all the old old old syslogs (as per config.php variable)
mysql_query("DELETE FROM `syslog` WHERE `datetime` < DATE_SUB(NOW(), INTERVAL ".$config['syslog_age'].")");
$q = mysql_query("SELECT * FROM `syslog` where `processed` = '0'");
while($entry = mysql_fetch_array($q)){