Skip to content

Commit

Permalink
Add missing call
Browse files Browse the repository at this point in the history
  • Loading branch information
wilsonge committed Dec 5, 2018
1 parent 329e3c7 commit aee8b38
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions administrator/components/com_cpanel/Model/SystemModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ public function getItems()
{
/** @var \Joomla\Component\Joomlaupdate\Administrator\Model\UpdateModel $joomlaUpdateModel */
$joomlaUpdateModel = $this->bootComponent('com_joomlaupdate')->getMVCFactory()->createModel('Update', 'Administrator', ['ignore_request' => true]);
$joomlaUpdateModel->refreshUpdates(true);
$joomlaUpdate = $joomlaUpdateModel->getUpdateInformation();
$hasUpdate = $joomlaUpdate['hasUpdate'] ? $joomlaUpdate['latest'] : '';

Expand Down

0 comments on commit aee8b38

Please sign in to comment.