Minor improvement in the update gateway API calls.
This commit is contained in:
parent
4fa237eadf
commit
d701e65652
|
|
@ -227,10 +227,16 @@ class UpdateManager
|
|||
$frozen = $installed->lists('is_frozen', 'code');
|
||||
$updatable = $installed->lists('is_updatable', 'code');
|
||||
$build = Parameter::get('system::core.build');
|
||||
$themes = [];
|
||||
|
||||
if ($this->themeManager) {
|
||||
$themes = array_keys($this->themeManager->getInstalled());
|
||||
}
|
||||
|
||||
$params = [
|
||||
'core' => $this->getHash(),
|
||||
'plugins' => serialize($versions),
|
||||
'themes' => serialize($themes),
|
||||
'build' => $build,
|
||||
'force' => $force
|
||||
];
|
||||
|
|
|
|||
Loading…
Reference in New Issue