public function doUpdate(Updater $updater)
{
$general = $this->getConfig()->General;
// need to check against int(0) value, as if the config setting is not set at all its value is null
if (isset($general[$this->marketplaceEnabledConfigSetting])) {
$isMarketplaceEnabled = 0 !== $general[$this->marketplaceEnabledConfigSetting];
$this->removeOldMarketplaceEnabledConfig();
if ($isMarketplaceEnabled) {
$this->activateMarketplacePlugin();
}
} else {
$this->activateMarketplacePlugin();
}
}