Skip to content

Commit

Permalink
Use Factory::, not JFactory (joomla#31666)
Browse files Browse the repository at this point in the history
  • Loading branch information
ReLater authored Dec 15, 2020
1 parent cf4b96a commit 6344f7a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public function download()
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';
Expand Down

0 comments on commit 6344f7a

Please sign in to comment.