diff options
Diffstat (limited to 'phpBB/phpbb/template/twig/node/includejs.php')
| -rw-r--r-- | phpBB/phpbb/template/twig/node/includejs.php | 18 | 
1 files changed, 2 insertions, 16 deletions
| diff --git a/phpBB/phpbb/template/twig/node/includejs.php b/phpBB/phpbb/template/twig/node/includejs.php index 0f67f9ff60..505b49757b 100644 --- a/phpBB/phpbb/template/twig/node/includejs.php +++ b/phpBB/phpbb/template/twig/node/includejs.php @@ -18,22 +18,8 @@ class includejs extends \phpbb\template\twig\node\includeasset  	/**  	* {@inheritdoc}  	*/ -	public function get_definition_name() +	public function get_setters_name()  	{ -		return 'SCRIPTS'; -	} - -	/** -	* {@inheritdoc} -	*/ -	protected function append_asset(\Twig_Compiler $compiler) -	{ -		$config = $this->environment->get_phpbb_config(); - -		$compiler -			->raw("<script type=\"text/javascript\" src=\"' . ") -			->raw("\$asset_file") -			->raw(". '\"></script>\n") -		; +		return 'script';  	}  } | 
