Forums / Developer / CLI sript - remove object - language / Comment61068
Nicolas Pastorino
Thursday 26 August 2010 11:15:42 pm
Hi Martin,
If you are removing one object only, you may want to consider the purge() method of the eZContentObject class.Check it here : http://github.com/ezsystems/Exponential/blob/master/kernel/classes/ezcontentobject.php#L1704
Caution though : it *really* purges about anything related to the object :)
Cheers !
-- Nicolas Pastorino Director Community - eZ Member of the Community Project Board eZ Publish Community on twitter: http://twitter.com/ezcommunity t : http://twitter.com/jeanvoye G+ : http://plus.tl/jeanvoye