Skip to content

Commit 72ad7e5

Browse files
committed
Remove not needed lang service in utility
1 parent e579155 commit 72ad7e5

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

config/services.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ services:
1010
arguments:
1111
- '%phpbbde.pastebin.geshilangs%'
1212
- '%core.php_ext%'
13-
- '@language'
1413
phpbbde.pastebin.functions.pastebin:
1514
class: phpbbde\pastebin\functions\pastebin
1615
arguments:

functions/utility.php

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,23 +27,17 @@ class utility
2727
/** @var string */
2828
protected $php_ext;
2929

30-
/* @var \phpbb\language\language */
31-
protected $language;
32-
3330
/**
3431
* Constructor
3532
* @param string $php_ext
36-
* @param \phpbb\language\language $language
3733
*/
3834
function __construct(
3935
$geshi_dir,
40-
$php_ext,
41-
\phpbb\language\language $language)
36+
$php_ext)
4237
{
4338
$this->geshi_dir = $geshi_dir;
4439
$this->geshi_list = $this->geshi_list();
4540
$this->php_ext = $php_ext;
46-
$this->language = $language;
4741
}
4842

4943

0 commit comments

Comments
 (0)