Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Cleaning up the version history


Reply


2 Posts   576 Views

Avatar
duclet

Community Member, 4 Posts

1 June 2011 at 5:45am

I did some searching but all the topics were rather old so don't know if things has changed since then or not. But, what is the best way at going to clean up the version history of the pages so that it will keep only, say 10, of the most recently updated versions?

Avatar
martimiz

Forum Moderator, 1105 Posts

1 June 2011 at 6:53am

Up until recently I don't think there really was a best way... But a couple of weeks ago Hamish added a script for this purpose to his recipe repository here:

https://github.com/silverstripe-labs/silverstripe-recipes