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

Going Live: Delete Old Revisions


Reply


2 Posts   521 Views

Avatar
DanStephenson

Community Member, 115 Posts

23 October 2011 at 9:29am

Hello all,

We've got a development site that we've been building for over a month, and now it's time to go live. We've got a lot of page revisions that we don't really want to port over to the live site. We want the current version of every page to now be "version 1" and build from there.

Is there an easy and stable way to achieve this?

Avatar
lerni

Community Member, 80 Posts

24 October 2011 at 6:04am

hi dan

i've never tried it but there is smth:
https://github.com/silverstripe-labs/silverstripe-recipes/blob/master/model/tools/SanitiseTasks.php

lukas