Removed uneeded logging with the mail queue start and end logs
This commit is contained in:
@@ -28,15 +28,6 @@ if ( $argv[1] !== $config_cron_key ) {
|
||||
exit("Cron Key invalid -- Quitting..");
|
||||
}
|
||||
|
||||
/*
|
||||
* ###############################################################################################################
|
||||
* STARTUP ACTIONS
|
||||
* ###############################################################################################################
|
||||
*/
|
||||
|
||||
//Logging
|
||||
mysqli_query($mysqli, "INSERT INTO logs SET log_type = 'Cron', log_action = 'Started', log_description = 'Cron started processing emails from the queue'");
|
||||
|
||||
// Process Mail Queue
|
||||
|
||||
// Get Mail Queue that hasnt been sent yet
|
||||
@@ -148,13 +139,3 @@ if (mysqli_num_rows($sql_failed_queue) > 0) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* ###############################################################################################################
|
||||
* FINISH UP
|
||||
* ###############################################################################################################
|
||||
*/
|
||||
|
||||
// Logging
|
||||
mysqli_query($mysqli, "INSERT INTO logs SET log_type = 'Cron', log_action = 'Ended', log_description = 'Cron finished processing the mail queue'");
|
||||
|
||||
Reference in New Issue
Block a user