bugfixing but not finished

This commit is contained in:
Michael Kaufmann (d00p)
2010-01-26 14:58:23 +00:00
parent 49afae31ea
commit 3e09f51686
3 changed files with 11 additions and 11 deletions

View File

@@ -17,7 +17,7 @@
function getIntervalOptions()
{
global $db, $lng;
global $db, $lng, $cronlog;
$query = "SELECT DISTINCT `interval` FROM `" . TABLE_PANEL_CRONRUNS . "` ORDER BY `interval` ASC;";
$result = $db->query($query);
@@ -33,7 +33,7 @@ function getIntervalOptions()
}
else
{
$log->logAction(ADM_ACTION, LOG_ERROR, "Invalid SQL-Interval ".$row['interval']." detected. Please fix this in the database.");
$cronlog->logAction(CRON_ACTION, LOG_ERROR, "Invalid SQL-Interval ".$row['interval']." detected. Please fix this in the database.");
}
}