From dc48690ed592c0fb641989d970bb60628555e70a Mon Sep 17 00:00:00 2001 From: Philipp Holzer Date: Thu, 11 Apr 2019 00:09:59 +0200 Subject: [PATCH] Remove hostname blacklisting --- src/Core/Config/Configuration.php | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) 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; } -- 2.39.5