Skip to content

Commit

Permalink
keep the deprecated three-letter-code
Browse files Browse the repository at this point in the history
  • Loading branch information
euromark committed Mar 24, 2013
1 parent 47f388a commit f633e59
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Cake/Utility/Validation.php
Expand Up @@ -618,6 +618,8 @@ public static function phone($check, $regex = null, $country = 'all') {
switch ($country) {
case 'us':
case 'ca':
// deprecated three-letter-code
case 'can':
case 'all':
// includes all NANPA members.
// see http://en.wikipedia.org/wiki/North_American_Numbering_Plan#List_of_NANPA_countries_and_territories
Expand Down

0 comments on commit f633e59

Please sign in to comment.