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

XenForo_Model_Avatar::getAvatarFilePath

Discussion in 'XenForo Development Discussions' started by Jon W, Jul 31, 2013.

  1. Jon W

    Jon W Well-Known Member

    Can anyone tell me in which beta/RC of XF 1.2 the above method signature was changed from:
    PHP:
    public function getAvatarFilePath($userId$size)
    to:
    PHP:
    public function getAvatarFilePath($userId$size$externalDataPath null)
    ?

    I don't have a copy of any of the betas or RCs on the computer I am on so can't work it out for myself.
     
  2. Jeremy

    Jeremy XenForo Moderator Staff Member

    Did your code work on any version of 1.2?
     
  3. Jon W

    Jon W Well-Known Member

  4. Chris D

    Chris D XenForo Developer Staff Member

    EDIT: Definitely RC2.
     
    xf_phantom, Jeremy and Jon W like this.
  5. Jon W

    Jon W Well-Known Member

  6. xf_phantom

    xf_phantom Well-Known Member

    yea sorry,
    the attachmenthandler had this change in the goldversion
     

Share This Page