"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "matomo/core/ProfessionalServices/Advertising.php" between
matomo-4.1.2-rc2.tar.gz and matomo-4.2.0.tar.gz

About: Matomo is a web analytics platform that aims to be an open source alternative to Google Analytics that let you retain ownership and control over your data (formerly Piwik).

Advertising.php  (matomo-4.1.2-rc2):Advertising.php  (matomo-4.2.0)
skipping to change at line 120 skipping to change at line 120
return $campaignName; return $campaignName;
} }
/** /**
* @param $configGeneralSection * @param $configGeneralSection
* @return bool * @return bool
*/ */
public static function isAdsEnabledInConfig($configGeneralSection) public static function isAdsEnabledInConfig($configGeneralSection)
{ {
$oldSettingValue = @$configGeneralSection['piwik_pro_ads_enabled']; $oldSettingValue = false;
if (isset($configGeneralSection['piwik_pro_ads_enabled'])) {
$oldSettingValue = @$configGeneralSection['piwik_pro_ads_enabled'];
}
$newSettingValue = @$configGeneralSection['piwik_professional_support_ad s_enabled']; $newSettingValue = @$configGeneralSection['piwik_professional_support_ad s_enabled'];
return (bool) ($newSettingValue || $oldSettingValue); return (bool) ($newSettingValue || $oldSettingValue);
} }
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)