33
0
mirror of https://github.com/joomla-extensions/patchtester.git synced 2024-10-31 18:52:39 +00:00

Update PatchTester User agent

Signed-off-by: Roland Dalmulder <contact@rolandd.com>
This commit is contained in:
Roland Dalmulder 2023-09-06 22:49:28 +02:00
parent 62f3eba0a7
commit fbbc89169b
No known key found for this signature in database
GPG Key ID: 6D30CD38749A5B9E

View File

@ -38,7 +38,7 @@ abstract class Helper
$params = ComponentHelper::getParams('com_patchtester');
$options = new Registry();
// Set a user agent for the request
$options->set('userAgent', 'PatchTester/3.0');
$options->set('userAgent', 'PatchTester/4.0');
// Set the default timeout to 120 seconds
$options->set('timeout', 120);
// Set the API URL