Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
This patch also removes uc_order_create_for_user() (which called uc_order_new()). As far as I can tell, this is an old convenience function which wasn't used in D7 and isn't needed in D8.
uc_order_create_for_user() was the callback for a local action on /admin/store/customers/orders/%, created via uc_order_menu_local_tasks_alter() - not sure whether it is worth keeping this?
Comments
Comment #2
tr commentedYes, I removed all usage of that function back in commit be2c722, I just never removed the function itself.
Comment #3
tr commentedThis patch also removes uc_order_create_for_user() (which called uc_order_new()). As far as I can tell, this is an old convenience function which wasn't used in D7 and isn't needed in D8.
Comment #4
longwaveuc_order_create_for_user() was the callback for a local action on /admin/store/customers/orders/%, created via uc_order_menu_local_tasks_alter() - not sure whether it is worth keeping this?
Comment #6
longwaveuc_order_create_for_user() was converted in #2627704: Fix 'Create order for this customer' local action, I also added a CHANGELOG.txt entry to cover uc_order_new() when committing this.