Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I discovered this while working on hosting_services. Patch to follow.
I discovered this while working on hosting_services. Patch to follow.
Comments
Comment #1
sfyn CreditAttribution: sfyn commentedOk...
I presume this is by design, since the doxygen comment for that function includes:
This function will break if there are two clients with the same title in an Aegir system. Admittedly an edge case, but wouldn't it be better to use the internal name for this function?
Comment #2
sfyn CreditAttribution: sfyn commentedtagging as an API issue
Comment #3
anarcat CreditAttribution: anarcat commentedBloody hell, I just realized this was my blocker for #1223506: cloning a site looses client site ownership!!!
I'll fixup some new API.
Comment #4
anarcat CreditAttribution: anarcat commentedi fixed up the API by adding the function hosting_get_client_by_uname($uname) (in 1.x, 2.x will change this).