use default_key
This commit is contained in:
parent
5291401de0
commit
bed13f71bd
|
@ -22,6 +22,7 @@
|
||||||
namespace Friendica\Core\KeyValueStorage\Factory;
|
namespace Friendica\Core\KeyValueStorage\Factory;
|
||||||
|
|
||||||
use Friendica\Core\Hooks\Capability\ICanCreateInstances;
|
use Friendica\Core\Hooks\Capability\ICanCreateInstances;
|
||||||
|
use Friendica\Core\Hooks\Util\StrategiesFileManager;
|
||||||
use Friendica\Core\KeyValueStorage\Capability\IManageKeyValuePairs;
|
use Friendica\Core\KeyValueStorage\Capability\IManageKeyValuePairs;
|
||||||
|
|
||||||
class KeyValueStorage
|
class KeyValueStorage
|
||||||
|
@ -29,6 +30,6 @@ class KeyValueStorage
|
||||||
public function create(ICanCreateInstances $instanceCreator): IManageKeyValuePairs
|
public function create(ICanCreateInstances $instanceCreator): IManageKeyValuePairs
|
||||||
{
|
{
|
||||||
/** @var IManageKeyValuePairs */
|
/** @var IManageKeyValuePairs */
|
||||||
return $instanceCreator->create(IManageKeyValuePairs::class, '');
|
return $instanceCreator->create(IManageKeyValuePairs::class, StrategiesFileManager::STRATEGY_DEFAULT_KEY);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user