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

Fixed Changing add-on id doesn't update cache registry

Discussion in 'Resolved Bug Reports' started by batpool52!, Dec 27, 2015.

  1. batpool52!

    batpool52! Well-Known Member

    If I were change existing add-on's id from addon_id_a to addon_id_b then the cache registry is not updated.
     
  2. Mike

    Mike XenForo Developer Staff Member

    I'm not sure what you're referring to by the "cache registry". Do you mean the data registry? If so, which cache specifically? The enabled add-ons list?
     
  3. batpool52!

    batpool52! Well-Known Member

    By cache registry I mean the data we get from
    PHP:
    XenForo_Application:get('you_name_it');
    In my case I use this code
    PHP:
    $addOns XenForo_Application::get('addOns');
    to get active list of add-ons which isn't updated.
     
  4. Mike

    Mike XenForo Developer Staff Member

    Fixed now, thanks. Toggling the active state afterwards is a trivial way to force a rebuild in the meantime.
     
    batpool52! likes this.

Share This Page