protected function detectAskAndSetDeveloperIp(\Mage_Core_Model_Store $store, $enabled)
{
if (!$enabled) {
// No need to notify about developer IP restrictions if we're disabling template hints etc
return;
}
/** @var OutputInterface $output */
$output = $this->getHelper('io')->getOutput();
if (!($devRestriction = $store->getConfig('dev/restrict/allow_ips'))) {
return;
}
$this->askAndSetDeveloperIp($output, $store, $devRestriction);
}