Skip to content

Commit

Permalink
Deprecate ssn() validation in favor of plugin Localized.
Browse files Browse the repository at this point in the history
  • Loading branch information
euromark committed Aug 4, 2014
1 parent 713f430 commit bbcdf24
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Cake/Utility/Validation.php
Expand Up @@ -754,6 +754,7 @@ public static function range($check, $lower = null, $upper = null) {
* @param string $regex Regular expression to use
* @param string $country Country
* @return bool Success
* @deprecated Deprecated since 2.6, will be removed in 3.0.
*/
public static function ssn($check, $regex = null, $country = null) {
if (is_array($check)) {
Expand Down

0 comments on commit bbcdf24

Please sign in to comment.