Piwik\Plugins\UserCountryMap\Controller::checkUserCountryPluginEnabled PHP Method

checkUserCountryPluginEnabled() private method

    private function checkUserCountryPluginEnabled()
    {
        if (!\Piwik\Plugin\Manager::getInstance()->isPluginActivated('UserCountry')) {
            throw new Exception($this->translator->translate('General_Required', 'Plugin UserCountry'));
        }
    }