Fix 'more' checking for group count mismatch between newsportal and rslight.
This commit is contained in:
parent
247eb5e8a7
commit
272c386794
|
@ -1644,8 +1644,8 @@ function repair_broken_group($group)
|
||||||
$newsportal_info = trim($newsportal_info[1]);
|
$newsportal_info = trim($newsportal_info[1]);
|
||||||
$newsportal_start = explode(" ", $newsportal_info);
|
$newsportal_start = explode(" ", $newsportal_info);
|
||||||
$rslight_start = explode(" ", $rslight_info);
|
$rslight_start = explode(" ", $rslight_info);
|
||||||
if ($newsportal_start[0] != $rslight_start[0]) {
|
if ($newsportal_start[0] != $rslight_start[0] || (($rslight_start[2] - $newsportal_start[2]) > 5)) {
|
||||||
file_put_contents($debug_log, "\n " . format_log_date() . " GROUP MISMATCH: " . $group . " Start rslight: " . $rslight_start[0] . " Start newsportal: " . $newsportal_start[0] . " Repairing...", FILE_APPEND);
|
file_put_contents($debug_log, "\n " . format_log_date() . " GROUP MISMATCH: " . $group . " rslight: " . $rslight_info . " newsportal: " . $newsportal_info . " Repairing...", FILE_APPEND);
|
||||||
wipe_newsportal_spool_info($group);
|
wipe_newsportal_spool_info($group);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue