diff --git a/src/Core/Config/PreloadConfiguration.php b/src/Core/Config/PreloadConfiguration.php index b5823c614..d54f1b063 100644 --- a/src/Core/Config/PreloadConfiguration.php +++ b/src/Core/Config/PreloadConfiguration.php @@ -5,7 +5,7 @@ namespace Friendica\Core\Config; use Friendica\Model; /** - * This class implements the preload Time configuration, which will cache + * This class implements the preload configuration, which will cache * all config values per call in a cache. * * Minimizes the number of database queries to retrieve configuration values at the cost of memory. diff --git a/src/Core/Config/PreloadPConfiguration.php b/src/Core/Config/PreloadPConfiguration.php index 1682b7e21..1c2dfba4f 100644 --- a/src/Core/Config/PreloadPConfiguration.php +++ b/src/Core/Config/PreloadPConfiguration.php @@ -5,7 +5,7 @@ namespace Friendica\Core\Config; use Friendica\Model; /** - * This class implements the preload Time configuration, which will cache + * This class implements the preload configuration, which will cache * all user config values per call in a cache. * * Minimizes the number of database queries to retrieve configuration values at the cost of memory. diff --git a/src/Model/Config/PConfig.php b/src/Model/Config/PConfig.php index c76e41cb6..2969272cc 100644 --- a/src/Model/Config/PConfig.php +++ b/src/Model/Config/PConfig.php @@ -29,7 +29,6 @@ class PConfig extends DbaConfig } while ($config = $this->dba->fetch($configs)) { - $key = $config['k']; $value = $this->toConfigValue($config['v']);