public function setDefaultCurrency($defaultCurrency)
    {
        Piwik::checkUserHasSuperUserAccess();
        $this->checkValidCurrency($defaultCurrency);
        Option::set(self::OPTION_DEFAULT_CURRENCY, $defaultCurrency);
        return true;
    }
public function setDefaultCurrency($defaultCurrency)
    {
        Piwik::checkUserHasSuperUserAccess();
        $this->checkValidCurrency($defaultCurrency);
        Option::set(self::OPTION_DEFAULT_CURRENCY, $defaultCurrency);
        return true;
    }
public function setDefaultCurrency ( $ defaultCurrency ) { Piwik :: checkUserHasSuperUserAccess ( ) ; $ this -> checkValidCurrency ( $ defaultCurrency ) ; Option :: set ( self :: OPTION_DEFAULT_CURRENCY , $ defaultCurrency ) ; return true ; }
Sets the default currency that will be used when creating websites

@param string $defaultCurrency Currency code, eg. 'USD'
@return bool
Sets the default currency that will be used when creating websites