aboutsummaryrefslogtreecommitdiff
path: root/app/Controllers/feedController.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2021-03-21 12:23:32 +0100
committerGravatar GitHub <noreply@github.com> 2021-03-21 12:23:32 +0100
commite2533bd9468c6d46b991af7b9ad31d67a0a1cc17 (patch)
tree5f0fc4cc8178d42baa5878f5c50d7fa2f2b375e5 /app/Controllers/feedController.php
parenta62d6288b17be77a686bb5288ab49931c51aaeef (diff)
Fix undefined variable & dead code when adding feed (#3546)
Related to https://github.com/FreshRSS/FreshRSS/issues/3537
Diffstat (limited to 'app/Controllers/feedController.php')
-rwxr-xr-xapp/Controllers/feedController.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/app/Controllers/feedController.php b/app/Controllers/feedController.php
index 63abc9f45..2e89b5c5e 100755
--- a/app/Controllers/feedController.php
+++ b/app/Controllers/feedController.php
@@ -173,9 +173,6 @@ class FreshRSS_feed_Controller extends Minz_ActionController {
$opts[CURLOPT_PROXY] = $proxy_address;
$opts[CURLOPT_PROXYTYPE] = intval($proxy_type);
}
- if ($cookie !== '') {
- $opts[CURLOPT_COOKIE] = $cookie;
- }
if ($useragent !== '') {
$opts[CURLOPT_USERAGENT] = $useragent;
}