• 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..

Eagle

Well-known member
#1
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.
 

Mike

XenForo developer
Staff member
#2
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).