Fix: Make executeRequest public

htdocs/admin/dolistore/ajax/image.php uses executeRequest,
changing that is more effort than making the method public.
This commit is contained in:
MDW 2024-01-08 17:52:19 +01:00
parent 368efbb77f
commit b60a152c2c
2 changed files with 6 additions and 2 deletions

View File

@ -170,7 +170,7 @@ class PrestaShopWebservice
*
* @throws PrestaShopWebserviceException
*/
protected function executeRequest($url, $curl_params = array())
public function executeRequest($url, $curl_params = array())
{
$defaultParams = $this->getCurlDefaultParams();

View File

@ -4,9 +4,13 @@ Source updated from:
https://github.com/PrestaShop/PrestaShop-webservice-lib/blob/master/PSWebServiceLibrary.php
## Compatibility analysis
## License compatibility analysis
https://www.gnu.org/licenses/license-list.html#OSL
## Local changes
- Change `executeRequest` to public method because
`htdocs/admin/dolistore/ajax/image.php#` uses it.