Index: trunk/extensions/CentralNotice/CentralNotice.db.php |
— | — | @@ -420,10 +420,10 @@ |
421 | 421 | |
422 | 422 | if ( is_callable( array( 'CountryNames', 'getNames' ) ) ) { |
423 | 423 | // Retrieve the list of countries in user's language (via CLDR) |
424 | | - $countries = CountryNames::getNames( |
425 | | - $code, // Language code |
426 | | - CountryNames::LIST_FUNDRAISING // Pull all non-embargoed countries |
427 | | - ); |
| 424 | + $countries = CountryNames::getNames( $code ); |
| 425 | + unset( $countries['CU'] ); // Cuba |
| 426 | + unset( $countries['IR'] ); // Iran |
| 427 | + unset( $countries['SY'] ); // Syria |
428 | 428 | } |
429 | 429 | |
430 | 430 | if ( !$countries ) { |