]> git.mxchange.org Git - friendica.git/commitdiff
use default_key
authorPhilipp <admin@philipp.info>
Fri, 28 Jul 2023 16:55:06 +0000 (18:55 +0200)
committerPhilipp <admin@philipp.info>
Fri, 28 Jul 2023 16:55:06 +0000 (18:55 +0200)
src/Core/KeyValueStorage/Factory/KeyValueStorage.php

index ee6cb17318dee32d970040bcb55c58c529eb2ab0..467006614ae82766cd1a04fee20d0cb6f3388289 100644 (file)
@@ -22,6 +22,7 @@
 namespace Friendica\Core\KeyValueStorage\Factory;
 
 use Friendica\Core\Hooks\Capability\ICanCreateInstances;
+use Friendica\Core\Hooks\Util\StrategiesFileManager;
 use Friendica\Core\KeyValueStorage\Capability\IManageKeyValuePairs;
 
 class KeyValueStorage
@@ -29,6 +30,6 @@ class KeyValueStorage
        public function create(ICanCreateInstances $instanceCreator): IManageKeyValuePairs
        {
                /** @var IManageKeyValuePairs */
-               return $instanceCreator->create(IManageKeyValuePairs::class, '');
+               return $instanceCreator->create(IManageKeyValuePairs::class, StrategiesFileManager::STRATEGY_DEFAULT_KEY);
        }
 }