Fix deprovisioning paid features upon transfer to subgroups
Problem
In #346407 (closed), it was confirmed that when transferring a subgroup of a group with a paid subscription to a group without a subscription, the paid features are still remaining and not correctly deprovisioned.
Steps to reproduce this can be found in this comment.
Proposal
As mentioned in the summary comment, a possible solution is to call the Projects::TransferService
to delete the leftover records (see code) in EE::Groups::TransferService
when transferring subgroups.
Which is the same fix that was applied for #284395 (closed).
Result
Correctly, deprovision paid features when transferring a subgroup from a group with a paid subscription to a group without a subscription.
Edited by Corinna Gogolok