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

As Designed If truncate 'xf_edit_history' table..

Discussion in 'Resolved Bug Reports' started by Eagle, Mar 7, 2014.

  1. Eagle

    Eagle Well-Known Member

    I'm not sure this is just a bug or as designed however if run this query;

    Code:
    truncate xf_edit_history;
    "History" links still shows on message area and get an error when click;

    The following error occurred:
    This content edit history has been removed.

    After run that query and truncate all message history from database then, History links should be hidden or removed from messages. You can run the query and see its results directly on the messages.
     
  2. Mike

    Mike XenForo Developer Staff Member

    Well, if you manipulate the database directly, you can't expect things to always work as expected. There are often other things that are updated when data is modified via the system.

    However, this is as designed. It does serve as a reference to it being edited and further it's simply not feasible to go back to each content item and change the edit counts (general efficiency).
     

Share This Page