summaryrefslogtreecommitdiffstats
path: root/config/config.php
diff options
context:
space:
mode:
Diffstat (limited to 'config/config.php')
-rw-r--r--config/config.php55
1 files changed, 0 insertions, 55 deletions
diff --git a/config/config.php b/config/config.php
index be2c057fc..a91c5053f 100644
--- a/config/config.php
+++ b/config/config.php
@@ -32,11 +32,6 @@ class Config {
private $loggerParams;
private $maxSize;
private $exploreUrl;
- private $proxyHost;
- private $proxyPort;
- private $proxyUser;
- private $proxyPassword;
-
public function __construct(Folder $fileSystem,
ILogger $logger,
@@ -49,38 +44,10 @@ class Config {
$this->feedFetcherTimeout = 60;
$this->useCronUpdates = true;
$this->logger = $logger;
- $this->proxyHost = '';
- $this->proxyPort = 8080;
- $this->proxyUser = '';
- $this->proxyPassword = '';
$this->exploreUrl = '';
$this->loggerParams = $LoggerParameters;
}
- public function getProxyPort() {
- return $this->proxyPort;
- }
-
- public function getProxyHost() {
- return $this->proxyHost;
- }
-
- public function getProxyAuth() {
- if($this->proxyUser === '') {
- return null;
- } else {
- return $this->proxyUser . ':' . $this->proxyPassword;
- }
- }
-
- public function getProxyUser() {
- return $this->proxyUser;
- }
-
- public function getProxyPassword() {
- return $this->proxyPassword;
- }
-
public function getAutoPurgeMinimumInterval() {
if ($this->autoPurgeMinimumInterval > 60) {
return $this->autoPurgeMinimumInterval;
@@ -89,7 +56,6 @@ class Config {
}
}
-
public function getAutoPurgeCount() {
return $this->autoPurgeCount;
}
@@ -144,27 +110,6 @@ class Config {
$this->useCronUpdates = $value;
}
-
- public function setProxyPort($value) {
- $this->proxyPort = $value;
- }
-
-
- public function setProxyHost($value) {
- $this->proxyHost = $value;
- }
-
-
- public function setProxyUser($value) {
- $this->proxyUser = $value;
- }
-
-
- public function setProxyPassword($value) {
- $this->proxyPassword = $value;
- }
-
-
public function setMaxSize($value) {
$this->maxSize = $value;
}