mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-10-23 19:48:34 -04:00
Revert bug HTTP 301 introduced by Refactor feedController
https://github.com/FreshRSS/FreshRSS/commit/e2da6e6e6b871dc3dbc289cdd40ba401a21d8e91
This commit is contained in:
1 parent
f4b0661f3d
commit
5adaf17721
1 file changed
+1
-1
@@ -301,6 +301,7 @@ class FreshRSS_feed_Controller extends Minz_ActionController {
|
||||
continue;
|
||||
}
|
||||
|
||||
$url = $feed->url(); //For detection of HTTP 301
|
||||
try {
|
||||
// Load entries
|
||||
$feed->load(false);
|
||||
@@ -311,7 +312,6 @@ class FreshRSS_feed_Controller extends Minz_ActionController {
|
||||
continue;
|
||||
}
|
||||
|
||||
$url = $feed->url();
|
||||
$feed_history = $feed->keepHistory();
|
||||
if ($feed_history == -2) {
|
||||
// TODO: -2 must be a constant!
|
||||
|
||||
Reference in new issue
Block a user