SilverStripe\Versioned\Versioned::cleanupVersionedOrphans
Cleanup orphaned records in the _Versions table
Signature
protected function cleanupVersionedOrphans(string
$baseTable,
string
$childTable )
Parameters
$baseTable
— string- base table to use as authoritative source of records
$childTable
— string- Sub-table to clean orphans from