X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=index.php;h=2dd003f0b73d578a315d7c58c41c1438a93bfcef;hb=e26e2060f5470ce8bf4c5973284bae07b8af170a;hp=ae74bc7efe2476745ebb30e7a4254ff86b7968d0;hpb=cf92b4dd1521241eefc58eaf6dcd202cd83969d8;p=github%2Fshaarli%2FShaarli.git diff --git a/index.php b/index.php index ae74bc7e..2dd003f0 100644 --- a/index.php +++ b/index.php @@ -631,7 +631,7 @@ function renderPage($conf, $pluginManager, $bookmarkService, $history, $sessionM // Get only bookmarks which have a thumbnail. // Note: we do not retrieve thumbnails here, the request is too heavy. $factory = new FormatterFactory($conf); - $formatter = $factory->getFormatter(); + $formatter = $factory->getFormatter(); foreach ($links as $key => $link) { if ($link->getThumbnail() !== false) { $linksToDisplay[] = $formatter->format($link); @@ -757,7 +757,7 @@ function renderPage($conf, $pluginManager, $bookmarkService, $history, $sessionM // Generate data. $feedGenerator = new FeedBuilder( $bookmarkService, - $factory->getFormatter('raw'), + $factory->getFormatter(), $feedType, $_SERVER, $_GET, @@ -1452,7 +1452,7 @@ function renderPage($conf, $pluginManager, $bookmarkService, $history, $sessionM try { $factory = new FormatterFactory($conf); - $formatter = $factory->getFormatter('raw'); + $formatter = $factory->getFormatter('raw'); $PAGE->assign( 'links', NetscapeBookmarkUtils::filterAndFormat(