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

Lack of Interest Method getLastPageNumber

Discussion in 'Closed Suggestions' started by ragtek, May 15, 2011.

  1. ragtek

    ragtek Guest

    You have the same method in 2 modesl (conversation & thread)

    If a add-on coder wants to implement this for his add-on, he needs to add this in his model too, or to extend his model from one of the two models^^.

    Wouldn't it be better to move it to xenforo_model so everybody could use it?

    BUT, do you really need this?
    If you would move add the "return false" part to XenForo_Helper_Discussion::getLastPageNumbers, the whole method would be IMHO unnecessary.

Share This Page