Closed (duplicate)
Project:
Content Distribution
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
21 Dec 2009 at 23:12 UTC
Updated:
10 Feb 2010 at 22:17 UTC
I'm wondering if we can streamline content_retriever_xmlrpc() and dump all the switching on method with use of call_user_func_array, like this:
$other_args = func_get_args();
// do some array_splice here to get rid of the named args such as method, domain, etc
call_user_func_array('xmlrpc', array_merge( [array of domain, etc], $other_args);
Would this work?
Comments
Comment #1
joachim commentedTurns out I did this in another issue...