diff options
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -631,7 +631,7 @@ function renderPage($conf, $pluginManager, $bookmarkService, $history, $sessionM | |||
631 | // Get only bookmarks which have a thumbnail. | 631 | // Get only bookmarks which have a thumbnail. |
632 | // Note: we do not retrieve thumbnails here, the request is too heavy. | 632 | // Note: we do not retrieve thumbnails here, the request is too heavy. |
633 | $factory = new FormatterFactory($conf); | 633 | $factory = new FormatterFactory($conf); |
634 | $formatter = $factory->getFormatter(); | 634 | $formatter = $factory->getFormatter(); |
635 | foreach ($links as $key => $link) { | 635 | foreach ($links as $key => $link) { |
636 | if ($link->getThumbnail() !== false) { | 636 | if ($link->getThumbnail() !== false) { |
637 | $linksToDisplay[] = $formatter->format($link); | 637 | $linksToDisplay[] = $formatter->format($link); |
@@ -757,7 +757,7 @@ function renderPage($conf, $pluginManager, $bookmarkService, $history, $sessionM | |||
757 | // Generate data. | 757 | // Generate data. |
758 | $feedGenerator = new FeedBuilder( | 758 | $feedGenerator = new FeedBuilder( |
759 | $bookmarkService, | 759 | $bookmarkService, |
760 | $factory->getFormatter('raw'), | 760 | $factory->getFormatter(), |
761 | $feedType, | 761 | $feedType, |
762 | $_SERVER, | 762 | $_SERVER, |
763 | $_GET, | 763 | $_GET, |
@@ -1452,7 +1452,7 @@ function renderPage($conf, $pluginManager, $bookmarkService, $history, $sessionM | |||
1452 | 1452 | ||
1453 | try { | 1453 | try { |
1454 | $factory = new FormatterFactory($conf); | 1454 | $factory = new FormatterFactory($conf); |
1455 | $formatter = $factory->getFormatter('raw'); | 1455 | $formatter = $factory->getFormatter('raw'); |
1456 | $PAGE->assign( | 1456 | $PAGE->assign( |
1457 | 'links', | 1457 | 'links', |
1458 | NetscapeBookmarkUtils::filterAndFormat( | 1458 | NetscapeBookmarkUtils::filterAndFormat( |