Home
Forums
New posts
Search forums
What's new
New posts
New media
New media comments
New resources
New profile posts
Latest activity
Media
New media
New comments
Search media
Resources
Latest reviews
Search resources
Members
Current visitors
New profile posts
Search profile posts
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Home
Forums
XenForo bug reports
Resolved bug reports
Zombie records remain when a thread is deleted
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="PaulB" data-source="post: 1531233" data-attributes="member: 56853"><p>When a thread is deleted, XF\Entity\Thread#_postDelete() fails to clean some tables, such as xf_thread_watch. At the end of the method, it cleans thread reply bans:</p><p>[code=php]$db->delete('xf_thread_reply_ban', 'thread_id = ?', $this->thread_id);[/code]</p><p>I would expect it to handle xf_thread_watch and xf_thread_user_post there as well, but it seems to skip those. xf_thread_watch appears to retain entries indefinitely.</p></blockquote><p></p>
[QUOTE="PaulB, post: 1531233, member: 56853"] When a thread is deleted, XF\Entity\Thread#_postDelete() fails to clean some tables, such as xf_thread_watch. At the end of the method, it cleans thread reply bans: [code=php]$db->delete('xf_thread_reply_ban', 'thread_id = ?', $this->thread_id);[/code] I would expect it to handle xf_thread_watch and xf_thread_user_post there as well, but it seems to skip those. xf_thread_watch appears to retain entries indefinitely. [/QUOTE]
Insert quotes…
Verification
Post reply
Home
Forums
XenForo bug reports
Resolved bug reports
Zombie records remain when a thread is deleted
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top