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

Fixed Disable Draft doesn't work

JVCode

Well-known member
#1
Trying to disable drafts, but it doesn't seem to work, after disabling and returning to forum to compose a new thread, drafts are still being saved.

Capture.PNG
 

Chris D

XenForo developer
Staff member
#3
Disabling drafts will not clear the current drafts that might exist in your database.

After disabling the drafts, run the following MySQL query:

TRUNCATE xf_draft

That will certainly remove the existing draft. But the thing is to see if the auto saving of drafts stops after you have done that.
 

Mike

XenForo developer
Staff member
#4
If it's just related to an existing draft being loaded, then Chris is correct. I am making tweaks to ensure that old drafts are removed in this situation (as right now they're not).

However, if it's related to drafts actually being saved, then I can't reproduce this.
 

JVCode

Well-known member
#5
If it's just related to an existing draft being loaded, then Chris is correct. I am making tweaks to ensure that old drafts are removed in this situation (as right now they're not).

However, if it's related to drafts actually being saved, then I can't reproduce this.
This is what happens, it's using an existing draft from before drafts were disabled.
 

Chris D

XenForo developer
Staff member
#6
Then that is currently working as expected.
Manual removal will work for now (the query in my last post)