Wednesday 12 December 2012

SilverStripe: Bulk Remove Comments

SilverStripe: Bulk Remove Comments

to remove all comments for a specific page:
DELETE FROM PageComment WHERE ParentID = <YourPageID>

to remove all comments marked as SPAM:
DELETE FROM PageComment WHERE IsSpam = 1 AND ParentID = <YourPageID>


click here for the original website

No comments:

Post a Comment