Use Factory::, not JFactory (#31666)

This commit is contained in:
ReLater 2020-12-15 17:20:07 +01:00 committed by GitHub
parent cf4b96a68d
commit 6344f7a992
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ class UpdateController extends BaseController
public function install()
{
$this->checkToken('get');
JFactory::getApplication()->setUserState('com_joomlaupdate.oldversion', JVERSION);
Factory::getApplication()->setUserState('com_joomlaupdate.oldversion', JVERSION);
$options['format'] = '{DATE}\t{TIME}\t{LEVEL}\t{CODE}\t{MESSAGE}';
$options['text_file'] = 'joomla_update.php';