Skip to content

Commit

Permalink
Deprecated Sanitize class
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Aug 9, 2013
1 parent 2dd4236 commit 1d809e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Cake/Utility/Sanitize.php
Expand Up @@ -29,6 +29,7 @@
* and all of the above on arrays.
*
* @package Cake.Utility
* @deprecated Deprecated since version 2.4
*/
class Sanitize {

Expand Down

4 comments on commit 1d809e9

@styxit
Copy link
Contributor

@styxit styxit commented on 1d809e9 Aug 15, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is the Sanitize class deprecated? Is there anything else that replaces it?

@ADmad
Copy link
Member Author

@ADmad ADmad commented on 1d809e9 Aug 15, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No there is no replacement. A section will be added to manual to achieve data sanitization using just basic php.

@ravage84
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@renan
Copy link
Contributor

@renan renan commented on 1d809e9 Aug 20, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps include a @see tag in there?

 * @see https://github.com/cakephp/cakephp/issues/1499#issuecomment-22395761

Please sign in to comment.