use default_key

This commit is contained in:
Philipp 2023-07-28 18:55:06 +02:00
parent 5291401de0
commit bed13f71bd
No known key found for this signature in database
GPG Key ID: 24A7501396EB5432

View 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);
}
}