mirror of
https://github.com/friendica/friendica
synced 2025-04-28 00:30:10 +00:00
Shorten "Configuration" to "Config" again, since the Wrapper is gone
This commit is contained in:
parent
21640ec5d8
commit
cb80108957
53 changed files with 183 additions and 179 deletions
|
@ -27,14 +27,14 @@ class ConfigFactory
|
|||
* @param Cache\ConfigCache $configCache The config cache of this adapter
|
||||
* @param ConfigModel $configModel The configuration model
|
||||
*
|
||||
* @return Config\IConfiguration
|
||||
* @return Config\IConfig
|
||||
*/
|
||||
public function createConfig(Cache\ConfigCache $configCache, ConfigModel $configModel)
|
||||
{
|
||||
if ($configCache->get('system', 'config_adapter') === 'preload') {
|
||||
$configuration = new Config\PreloadConfiguration($configCache, $configModel);
|
||||
$configuration = new Config\PreloadConfig($configCache, $configModel);
|
||||
} else {
|
||||
$configuration = new Config\JitConfiguration($configCache, $configModel);
|
||||
$configuration = new Config\JitConfig($configCache, $configModel);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue