Add backward compatibility test

This commit is contained in:
Hypolite Petovan 2018-02-24 10:57:39 -05:00
parent a6f6f92a24
commit 37960dcd38
1 changed files with 7 additions and 0 deletions

View File

@ -208,6 +208,13 @@ if (!function_exists('run_site_probe')) {
$time
);
if (isset($data->addons)) {
$addons = $data->addons;
} else {
// Backward compatibility
$addons = $data->plugins;
}
//Update any health calculations or otherwise processed data.
$parsedDataQuery .= sprintf(
"`dt_last_seen` = NOW(),