diff options
| author | 2016-09-25 00:34:49 +0200 | |
|---|---|---|
| committer | 2016-09-25 00:34:49 +0200 | |
| commit | 85c8fba94fa08dbf71afa0d0ef4fd95607ddb493 (patch) | |
| tree | 5f68f6bf330bc82f85d2ead8919a3b8419d467ec /app/Models/Feed.php | |
| parent | 71b98a0ffc41ea869e8c49c2889cda5b3e113030 (diff) | |
API add feed bug with PSHB
Diffstat (limited to 'app/Models/Feed.php')
| -rw-r--r-- | app/Models/Feed.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Models/Feed.php b/app/Models/Feed.php index 658b9ccca..f2f345662 100644 --- a/app/Models/Feed.php +++ b/app/Models/Feed.php @@ -460,7 +460,7 @@ class FreshRSS_Feed extends Minz_Model { CURLOPT_URL => $this->hubUrl, CURLOPT_FOLLOWLOCATION => true, CURLOPT_RETURNTRANSFER => true, - CURLOPT_USERAGENT => _t('gen.freshrss') . '/' . FRESHRSS_VERSION . ' (' . PHP_OS . '; ' . FRESHRSS_WEBSITE . ')', + CURLOPT_USERAGENT => 'FreshRSS/' . FRESHRSS_VERSION . ' (' . PHP_OS . '; ' . FRESHRSS_WEBSITE . ')', CURLOPT_POSTFIELDS => 'hub.verify=sync' . '&hub.mode=' . ($state ? 'subscribe' : 'unsubscribe') . '&hub.topic=' . urlencode($this->selfUrl) |
