mirror of
https://github.com/friendica/friendica
synced 2024-11-18 08:23:53 +00:00
use default_key
This commit is contained in:
parent
5291401de0
commit
bed13f71bd
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue