Skip to content
Extraits de code Groupes Projets
Valider f4c68536 rédigé par Matthieu Aubry's avatar Matthieu Aubry
Parcourir les fichiers

Merge pull request #6684 from piwik/installation_fix

Fix installation when privacy form submitted
parents bd731a3a 356f2cee
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -396,8 +396,6 @@ class Controller extends \Piwik\Plugin\ControllerAdmin
{
$this->checkPiwikIsNotInstalled();
$this->markInstallationAsCompleted();
$view = new View(
'@Installation/finished',
$this->getInstallationSteps(),
......@@ -424,6 +422,8 @@ class Controller extends \Piwik\Plugin\ControllerAdmin
*/
Piwik::postEvent('Installation.defaultSettingsForm.submit', array($form));
$this->markInstallationAsCompleted();
Url::redirectToUrl('index.php');
} catch (Exception $e) {
$view->errorMessage = $e->getMessage();
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter