MDL-71741 portfolio: Reset header information between requests
commit8a125028fb4fbdaa7fe68737774aa82fe46e5898
authorHuong Nguyen <huongn@moodle.com>
Fri, 28 May 2021 01:55:43 +0000 (28 08:55 +0700)
committerHuong Nguyen <huongn@moodle.com>
Thu, 3 Jun 2021 03:51:24 +0000 (3 10:51 +0700)
tree8ac806ded330d533db8d734d9c43b3875aa8123e
parentdb1a7003e6a0c099af79e50aa430a8a83f63dae8
MDL-71741 portfolio: Reset header information between requests

The reset process also removes the CURLFile option in the HTTP object,
which will avoid the serialisation issue on PHP7.4 and upward
lib/flickrclient.php