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

addding userId plugin description and enable plugin during update (#10073)

parent 08090f2c
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
<?php
/**
* Piwik - free/libre analytics platform
*
* @link http://piwik.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*
*/
namespace Piwik\Updates;
use Piwik\Updater;
use Piwik\Updates as PiwikUpdates;
/**
* Update for version 2.16.2-b2.
*/
class Updates_2_16_2_b2 extends PiwikUpdates
{
public function doUpdate(Updater $updater)
{
$pluginManager = \Piwik\Plugin\Manager::getInstance();
$pluginName = 'UserId';
try {
if (!$pluginManager->isPluginActivated($pluginName)) {
$pluginManager->activatePlugin($pluginName);
}
} catch (\Exception $e) {
}
}
}
{ {
"UserId": { "UserId": {
"UserId": "UserId", "UserId": "UserId",
"UserReportTitle": "Users" "UserReportTitle": "Users",
"PluginDescription": "Shows user reports"
} }
} }
\ No newline at end of file
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