diff options
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -452,15 +452,13 @@ function renderPage($conf, $pluginManager, $bookmarkService, $history, $sessionM | |||
452 | $feedGenerator = new FeedBuilder( | 452 | $feedGenerator = new FeedBuilder( |
453 | $bookmarkService, | 453 | $bookmarkService, |
454 | $factory->getFormatter(), | 454 | $factory->getFormatter(), |
455 | $feedType, | ||
456 | $_SERVER, | 455 | $_SERVER, |
457 | $_GET, | ||
458 | $loginManager->isLoggedIn() | 456 | $loginManager->isLoggedIn() |
459 | ); | 457 | ); |
460 | $feedGenerator->setLocale(strtolower(setlocale(LC_COLLATE, 0))); | 458 | $feedGenerator->setLocale(strtolower(setlocale(LC_COLLATE, 0))); |
461 | $feedGenerator->setHideDates($conf->get('privacy.hide_timestamps') && !$loginManager->isLoggedIn()); | 459 | $feedGenerator->setHideDates($conf->get('privacy.hide_timestamps') && !$loginManager->isLoggedIn()); |
462 | $feedGenerator->setUsePermalinks(isset($_GET['permalinks']) || !$conf->get('feed.rss_permalinks')); | 460 | $feedGenerator->setUsePermalinks(isset($_GET['permalinks']) || !$conf->get('feed.rss_permalinks')); |
463 | $data = $feedGenerator->buildData(); | 461 | $data = $feedGenerator->buildData($feedType, $_GET); |
464 | 462 | ||
465 | // Process plugin hook. | 463 | // Process plugin hook. |
466 | $pluginManager->executeHooks('render_feed', $data, array( | 464 | $pluginManager->executeHooks('render_feed', $data, array( |