Fix maintenance cron #31

Merged
MrPetovan merged 4 commits from bug/fix-maintenance-cron into master 2017-10-23 07:37:39 +02:00
Showing only changes of commit ef7551df81 - Show all commits

Fix empty $parms check

- $parms always contains the `_timings` key
Hypolite Petovan 2017-10-22 23:55:27 -04:00

View file

@ -75,7 +75,7 @@ function run_submit($url) {
}
//Empty result is due to an offline site.
if(!count($parms)){
if(!count($parms) > 1){
//For large sites this could lower the health too quickly, so don't track health.
//But for sites that are already in bad status. Do a cleanup now.