Add backward compatibility test
This commit is contained in:
parent
a6f6f92a24
commit
37960dcd38
1 changed files with 7 additions and 0 deletions
|
@ -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(),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue