Skip to content

Commit

Permalink
Applied PR feedbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
AltamashShaikh committed Jan 6, 2025
1 parent 4884c03 commit 1db92b7
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions Updates/5.2.1-b1.php → Updates/5.2.2-b1.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
use Piwik\Updater\Migration\Factory as MigrationFactory;
use Piwik\Updates as PiwikUpdates;

class Updates_5_2_1_b1 extends PiwikUpdates
class Updates_5_2_2_b1 extends PiwikUpdates
{
/**
* @var MigrationFactory
Expand Down Expand Up @@ -71,10 +71,18 @@ public function doUpdate(Updater $updater)
$migrator->addField('setLinkClasses', '');
$migrator->addField('setCampaignNameKey', '');
$migrator->addField('setCampaignKeywordKey', '');
$migrator->addField('setConsentGiven', '');
$migrator->addField('rememberConsentGiven', '');
$migrator->addField('setConsentGiven', false);
$migrator->addField('rememberConsentGiven', false);
$migrator->addField('rememberConsentGivenForHours', '');
$migrator->addField('forgetConsentGiven', '');
$migrator->addField('forgetConsentGiven', false);
$migrator->addField('discardHashTag', false);
$migrator->addField('setExcludedQueryParams', '');
$migrator->addField('setConversionAttributionFirstReferrer', false);
$migrator->addField('setDoNotTrack', false);
$migrator->addField('setLinkTrackingTimer', '');
$migrator->addField('killFrame', false);
$migrator->addField('setCountPreRendered', false);
$migrator->addField('setRequestQueueInterval', '');
$migrator->migrate();
}
}

0 comments on commit 1db92b7

Please sign in to comment.