While i creating website, a lot of revisions have accumulated and these revisons confuses the customer. I want to clear all revisions before delivery website that I built for my customer.
How can i do that?
While i creating website, a lot of revisions have accumulated and these revisons confuses the customer. I want to clear all revisions before delivery website that I built for my customer.
How can i do that?
I'm using IP 4.2.5 for the first time in my current project and encountered the same problem. After analyzing code base I found that the only time revisions are cleaned is on deletion of a page - you can see the corresponding code here. Nevertheless, there exists a method called removeOldRevisions($days)
, which is actually never called. I think you would have to setup a cron to execute this method. While getting above links from Github I discovered that there was a recent commit adding such a cron job, so maybe you just have to wait for release of 4.2.6 or clone from master.
Master branch on GitHub has just got few commits. Next release will have options to automatically remove old revisions. If you like, you can install ImpressPages from GitHub master branch and have those features immediately. You can also update by replacing Ip folder from GitHub and pointing your browser to http://www.example.com/?pa=Update to update the database.