Is there a way to purge document revisions using Velocity or Groovy?
Someone can see actual and last revision by:
${doc.getVersion()}<br>
${doc.getPreviousDocument().getVersion()}<br>
The next is deleting the document with all revisions...
Don't try to purge with(!):
${doc.getPreviousDocument().delete()}
Thanks,
Rudolf
--
View this message in context:
http://n2.nabble.com/Purge-Document-Versions-via-Script-tp2192579p2192579.h…
Sent from the XWiki- Users mailing list archive at
Nabble.com.