Skip to content
Extraits de code Groupes Projets
Valider 20cdfcf2 rédigé par mattab's avatar mattab
Parcourir les fichiers

Refs #4204

parent bbb8642e
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -261,8 +261,9 @@ class Updater
// This should not happen
$currentVersion = Version::VERSION;
} else {
//
$currentVersion = '0.0.1';
// When plugins have been installed since Piwik 2.0 this should not happen
// We "fix" the data for any plugin that may have been ported from Piwik 1.x
$currentVersion = $version;
}
self::recordComponentSuccessfullyUpdated($name, $currentVersion);
}
......@@ -274,7 +275,7 @@ class Updater
self::INDEX_NEW_VERSION => $version
);
} else if ($versionCompare == 1) {
// the version in the DB is newest.. we choose to ignore (for the time being)
// the version in the DB is newest.. we choose to ignore
}
}
return $componentsToUpdate;
......
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