phpBB

Code Changes

File: phpbb/feed/controller/feed.php

  Unmodified   Added   Modified   Removed
Line 25Line 25
use phpbb\controller\helper as controller_helper;
use phpbb\symfony_request;
use phpbb\user;

use phpbb\controller\helper as controller_helper;
use phpbb\symfony_request;
use phpbb\user;

 
use phpbb\language\language;

use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Generator\UrlGeneratorInterface;

use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Generator\UrlGeneratorInterface;

Line 86Line 87
	 * @var string
*/
protected $php_ext;

	 * @var string
*/
protected $php_ext;

 

/**
* @var language
*/
protected $language;


/**
* Constructor


/**
* Constructor

Line 100Line 106
	 * @param user $user
* @param auth $auth
* @param dispatcher_interface $phpbb_dispatcher

	 * @param user $user
* @param auth $auth
* @param dispatcher_interface $phpbb_dispatcher

 
	 * @param language $language

	 * @param string $php_ext
*/

	 * @param string $php_ext
*/

	public function __construct(Environment $twig, symfony_request $request, controller_helper $controller_helper, config $config, driver_interface $db, ContainerInterface $container, feed_helper $feed_helper, user $user, auth $auth, dispatcher_interface $phpbb_dispatcher, $php_ext)

	public function __construct(Environment $twig, symfony_request $request, controller_helper $controller_helper, config $config, driver_interface $db, ContainerInterface $container, feed_helper $feed_helper, user $user, auth $auth, dispatcher_interface $phpbb_dispatcher, language $language, $php_ext)

	{
$this->request = $request;
$this->controller_helper = $controller_helper;

	{
$this->request = $request;
$this->controller_helper = $controller_helper;

Line 114Line 121
		$this->auth = $auth;
$this->php_ext = $php_ext;
$this->template = $twig;

		$this->auth = $auth;
$this->php_ext = $php_ext;
$this->template = $twig;

 
		$this->language = $language;

		$this->phpbb_dispatcher = $phpbb_dispatcher;
}


		$this->phpbb_dispatcher = $phpbb_dispatcher;
}


Line 296Line 304
	{
$feed_updated_time = 0;
$item_vars = array();

	{
$feed_updated_time = 0;
$item_vars = array();

 
		$this->language->add_lang('viewtopic');


$board_url = $this->feed_helper->get_board_url();



$board_url = $this->feed_helper->get_board_url();