From: Philipp Holzer Date: Wed, 10 Apr 2019 22:09:59 +0000 (+0200) Subject: Remove hostname blacklisting X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=dc48690ed592c0fb641989d970bb60628555e70a;p=friendica.git Remove hostname blacklisting --- diff --git a/src/Core/Config/Configuration.php b/src/Core/Config/Configuration.php index c6fe626d91..532ed982a9 100644 --- a/src/Core/Config/Configuration.php +++ b/src/Core/Config/Configuration.php @@ -10,16 +10,6 @@ namespace Friendica\Core\Config; */ class Configuration { - /** - * The blacklist of configuration settings, which should not get saved to the backend - * @var array - */ - private $configSaveBlacklist = [ - 'config' => [ - 'hostname' => true, - ] - ]; - /** * @var Cache\IConfigCache */ @@ -127,7 +117,7 @@ class Configuration $cached = $this->configCache->set($cat, $key, $value); // If there is no connected adapter, we're finished - if (!$this->configAdapter->isConnected() || !empty($this->configSaveBlacklist[$cat][$key])) { + if (!$this->configAdapter->isConnected()) { return $cached; }