JTableContenthistory::deleteOldVersions
Utility method to remove the oldest versions of an item, saving only the most recent versions.
Signature
public function deleteOldVersions(integer
$maxVersions )
Parameters
-
$maxVersions
- The maximum number of versions to save. All others will be deleted.
Returns
- boolean
- true on sucess, false on failure.