mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 10:22:56 +00:00
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:
@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user