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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

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

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

Cleaning up the version history


Go to End


2 Posts   942 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, 1391 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