dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "clientpool: Remove unused parameter from constructor header"
[lhc/web/wiklou.git]
/
includes
/
clientpool
/
SquidPurgeClient.php
diff --git
a/includes/clientpool/SquidPurgeClient.php
b/includes/clientpool/SquidPurgeClient.php
index
49d9d1c
..
75f51ef
100644
(file)
--- a/
includes/clientpool/SquidPurgeClient.php
+++ b/
includes/clientpool/SquidPurgeClient.php
@@
-68,9
+68,8
@@
class SquidPurgeClient {
/**
* @param string $server
/**
* @param string $server
- * @param array $options
*/
*/
- public function __construct( $server
, $options = []
) {
+ public function __construct( $server ) {
$parts = explode( ':', $server, 2 );
$this->host = $parts[0];
$this->port = $parts[1] ?? 80;
$parts = explode( ':', $server, 2 );
$this->host = $parts[0];
$this->port = $parts[1] ?? 80;