Skip to content

Commit

Permalink
cs
Browse files Browse the repository at this point in the history
  • Loading branch information
zero-24 committed Aug 3, 2016
1 parent 87865ce commit 35506c2
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -45,7 +45,7 @@ public function download()
if ($file)
{
JFactory::getApplication()->setUserState('com_joomlaupdate.file', $file);
$url = 'index.php?option=com_joomlaupdate&task=update.install&'.JFactory::getSession()->getFormToken().'=1';
$url = 'index.php?option=com_joomlaupdate&task=update.install&' . JFactory::getSession()->getFormToken() . '=1';
JLog::add(JText::sprintf('COM_JOOMLAUPDATE_UPDATE_LOG_FILE', $file), JLog::INFO, 'Update');
}
else
Expand Down Expand Up @@ -107,7 +107,7 @@ public function finalise()

$model->finaliseUpgrade();

$url = 'index.php?option=com_joomlaupdate&task=update.cleanup&'.JFactory::getSession()->getFormToken().'=1';
$url = 'index.php?option=com_joomlaupdate&task=update.cleanup&' . JFactory::getSession()->getFormToken() . '=1';
$this->setRedirect($url);
}

Expand Down Expand Up @@ -281,7 +281,7 @@ public function confirm()
JLog::add(JText::sprintf('COM_JOOMLAUPDATE_UPDATE_LOG_FILE', $tempFile), JLog::INFO, 'Update');

// Redirect to the actual update page
$url = 'index.php?option=com_joomlaupdate&task=update.install&'.JFactory::getSession()->getFormToken().'=1';
$url = 'index.php?option=com_joomlaupdate&task=update.install&' . JFactory::getSession()->getFormToken() . '=1';
$this->setRedirect($url);
}

Expand Down

0 comments on commit 35506c2

Please sign in to comment.