Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
I presume this is by design, since the doxygen comment for that function includes:
* @param $client
* Either the nid or the client title
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?
Comments
Comment #1
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 commentedtagging as an API issue
Comment #3
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 commentedi fixed up the API by adding the function hosting_get_client_by_uname($uname) (in 1.x, 2.x will change this).