1
1
Fork 0

use default_key

This commit is contained in:
Philipp Holzer 2023-07-28 18:55:06 +02:00
parent 5291401de0
commit bed13f71bd
Signed by: nupplaPhil
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);
}
}