Adding warnings to newly deprecated methods.

This commit is contained in:
mark_story 2009-08-31 22:31:36 -04:00
parent bd350e95b6
commit 046d7c75d0
4 changed files with 11 additions and 0 deletions

View file

@ -280,6 +280,7 @@ class CookieComponent extends Object {
* @deprecated use delete()
**/
function del($key) {
trigger_error('Deprecated method, use CookieComponent::delete instead', E_USER_WARNING);
return $this->delete($key);
}