Add backward compatibility test

This commit is contained in:
Hypolite Petovan 2018-02-24 10:57:39 -05:00
commit 37960dcd38

View file

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