Forums / General / Mass deleting Previous versions

Mass deleting Previous versions

Author Message

Andy Boston

Thursday 10 January 2008 6:41:02 am

During an initial set up process there's a lot of tweaks and changes that take place.

Is there a quick way to mass delete the previous versions?

Is it possible by FTP or is there an admin tool that does the job??

Please let me know 8-)

André R.

Thursday 10 January 2008 7:22:25 am

bin/php/flatten.php

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Sebastian Gęsior

Tuesday 12 August 2008 5:54:06 am

Well, it seems to be very simple, but when i call this script - nothing changes. I mean there is some message:

php bin/php/flatten.php all
Removing non-published content object versions
Removing temporary content classes
Removing temporary workflows
Removing temporary roles

but there is no change in database (I checked it on three installations, each on different machine).
I work with eZ 4.0.
Any suggestions? Thank you.

By the way - hello everyone, I'm new here :-)

Sebastiaan van der Vliet

Tuesday 12 August 2008 8:56:35 am

http://ez.no/developer/contribs/hacks/remove_objects

Certified eZ publish developer with over 9 years of eZ publish experience. Available for challenging eZ publish projects as a technical consultant, project manager, trouble shooter or strategic advisor.

Sebastian Gęsior

Tuesday 12 August 2008 4:32:18 pm

Thank you, but I only want to delete the archived versions of my content - any other idea how to make the "flatten.php" work properly?