Skip to content
Extraits de code Groupes Projets
Valider da1190f0 rédigé par Thomas Steur's avatar Thomas Steur
Parcourir les fichiers

do not start a session during tracker mode or if session is not started yet (#10071)

Eg could start a session during tracking if a tracker plugin is not compatible with the current Piwik and it would try to trigger a notification because of this.
parent 823a06ac
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -129,6 +129,10 @@ class Manager ...@@ -129,6 +129,10 @@ class Manager
private static function removeOldestNotificationsIfThereAreTooMany() private static function removeOldestNotificationsIfThereAreTooMany()
{ {
if (!self::isSessionEnabled()) {
return;
}
$maxNotificationsInSession = 30; $maxNotificationsInSession = 30;
$session = static::getSession(); $session = static::getSession();
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter