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

Writing an Importer... Disable Rebuilding of Cache?

Discussion in 'XenForo Development Discussions' started by Jaxel, Dec 4, 2014.

  1. Jaxel

    Jaxel Well-Known Member

    I'm writing an importer for XenPorta to XenPorta 2. Everything works great; except for when you finish and click the finalize button. Then XenForo goes into the long and arduous task of rebuilding all the forum caches.

    My importer has no need for this. Is there a way to disable it?
  2. Mike

    Mike XenForo Developer Staff Member

    This actually came up today, but the code is triggered via the controller so it can't be disabled as things stand.
  3. Jake B.

    Jake B. Well-Known Member

    IIRC @Jon W has an add-on that will allow the person running the import to disable the rebuild cache (I may be wrong though) You can probably look at what he has and extend the controller to disable it just for your importer.

Share This Page