BulkCurlTask: Remove complexData parameter (BC break)

This is a leftover from when it was necessary to pass complex data to the AsyncTask constructor in order to have it locally-stored. Since this has now been superseded by storeLocal(), it doesn't make sense for this parameter to exist anymore.
This commit is contained in:
Dylan K. Taylor 2018-08-04 14:44:20 +01:00
parent 2cb6307e5b
commit 779d92c656
2 changed files with 4 additions and 5 deletions

View File

@ -121,8 +121,9 @@ class TimingsCommand extends VanillaCommand{
CURLOPT_AUTOREFERER => false,
CURLOPT_FOLLOWLOCATION => false
]]
], $sender);
]);
$this->host = $host;
$this->storeLocal($sender);
}
public function onCompletion(Server $server){

View File

@ -42,11 +42,9 @@ class BulkCurlTask extends AsyncTask{
* "timeout", "extraHeaders" and "extraOpts". Documentation of these options are same as those in
* {@link Utils::simpleCurl}.
*
* @param array $operations
* @param mixed|null $complexData
* @param array $operations
*/
public function __construct(array $operations, $complexData = null){
$this->storeLocal($complexData);
public function __construct(array $operations){
$this->operations = serialize($operations);
}