Remove hostname blacklisting
This commit is contained in:
parent
1dd1684885
commit
dc48690ed5
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user