• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Is this function supposed to be protected?

Jake B.

Well-known member
#1
In XenForo_Model_Ip the function getRegistrationIps is protected, though it's not using the 'normal' xf format of putting an underscore in front of the function name, which brings me to the suggestion:

The XF2 version of this should probably be public so I can call it from a controller if needed :)