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

running some code "from an admin controller"

Discussion in 'XenForo Development Discussions' started by Paul, Nov 2, 2011.

  1. Paul

    Paul Well-Known Member

    I have some code that i'm advised that i need to run "from an admin controller".

    Any chance someone could spend a minute or two explaining this, and telling me how i could do this please???

    Cheers
    Paul
     
  2. Fuhrmann

    Fuhrmann Well-Known Member

    What exactly you are trying? A better explanation could help.

    But, if do undestand you, i think you could just create your own ControllerAdmin which extends to XenForo_ControllerAdmin_Abstract.
     
  3. Paul

    Paul Well-Known Member

    Ok - We know at the moment that xF when deleting threads doesnt remove these from the DB. I believe this is being worked on for a later release, however Kier suggested the following :

    I have plenty of power on the server ( i believe the issue is down to the amount of resources it takes to delete these on bulk), however i'm at a loss as to where/how i can run it??? Please remember i'm not a developer, so it would have to be easy to follow ;)

    I just desperately want to get the old posts removed from the db so i can move hosts :)

    Cheers
    Paul
     

Share This Page