- Rename the function to include a phpbb_ prefix
- Change all calls to the method in core code to use phpbb_
- Add a conditional function definition of the old function name to keep MODs working:
- Code: Select all
return call_user_func_array('phpbb_user_add', func_get_args());
This way, most boards with MODs will continue to work. If you require compatability with 3rd party software, you will have to use compatible MODs too.
In addition we might want to encourage MODs to move to the new function names, by throwing E_NOTICE in the compatability function in debug mode. Thoughts on this?