X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Ffilerepo%2FForeignAPIRepo.php;h=2c6f29632f1d44195dc0a4220c24736c3da7aab7;hp=346ec8ec1535b7bf7de51a7c125ae994f345ff4b;hb=a3cd158d8433e41cbeb299f0e268dfef363b2afd;hpb=09ee5d2505f99cc146f871307be7ac00b7368d76 diff --git a/includes/filerepo/ForeignAPIRepo.php b/includes/filerepo/ForeignAPIRepo.php index 346ec8ec15..2c6f29632f 100644 --- a/includes/filerepo/ForeignAPIRepo.php +++ b/includes/filerepo/ForeignAPIRepo.php @@ -502,8 +502,9 @@ class ForeignAPIRepo extends FileRepo { } /** - * Like a Http:get request, but with custom User-Agent. - * @see Http::get + * Like a HttpRequestFactory::get request, but with custom User-Agent. + * @see HttpRequestFactory::get + * @todo Can this use HttpRequestFactory::get() but just pass the 'userAgent' option? * @param string $url * @param string $timeout * @param array $options