Forums / Suggestions / Proper deprecation of ez routines

Proper deprecation of ez routines

Author Message

Paul Forsyth

Wednesday 10 September 2003 12:51:20 am

Is there the facility of properly announcing deprected ez sdk routines?

Yesterday I was stumped as to why my 'user/forgetpassord' routine was failing with a permissions error (3.1-3.2 upgrade). It took me a while to notice that with 3.2 the spelling has been 'fixed' and is now 'user/forgotpassword'. If 'forget' is added to the Policy omissions list it works.

What im annoyed about is that the old routine has been left in place, is marked as being kept for compatibility, but is left to fail in an undocumented and confusing way. I see that in 'kernel/user/module.php' this view is actually marked as 'deprecated' but there is no code in the system i could find that deals with 'deprecated' views.

There should be kernel warnings for issues like this so we developers can manage our code accordingly.

Since there is the start made in the module file is there planned work for taking this further? And extending it to functions and operators?

Paul