mirror of
https://github.com/friendica/friendica
synced 2025-01-20 20:19:47 +00:00
Replace Database class names with FQCN
This commit is contained in:
parent
ce5789690d
commit
c33223a0eb
1 changed files with 4 additions and 8 deletions
|
@ -24,10 +24,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
use Dice\Dice;
|
use Dice\Dice;
|
||||||
use Friendica\Database\Database;
|
|
||||||
use Friendica\Database\Definition\DbaDefinition;
|
|
||||||
use Friendica\Database\Definition\ViewDefinition;
|
|
||||||
use Friendica\Core\Storage\Capability\ICanWriteToStorage;
|
|
||||||
use Friendica\Model\User\Cookie;
|
use Friendica\Model\User\Cookie;
|
||||||
use Friendica\Model\Log\ParsedLogIterator;
|
use Friendica\Model\Log\ParsedLogIterator;
|
||||||
use Friendica\Network;
|
use Friendica\Network;
|
||||||
|
@ -119,7 +115,7 @@ return (function(string $basepath, array $getVars, array $serverVars, array $coo
|
||||||
['create', [], Dice::CHAIN_CALL],
|
['create', [], Dice::CHAIN_CALL],
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
DbaDefinition::class => [
|
\Friendica\Database\Definition\DbaDefinition::class => [
|
||||||
'constructParams' => [
|
'constructParams' => [
|
||||||
$basepath,
|
$basepath,
|
||||||
],
|
],
|
||||||
|
@ -127,7 +123,7 @@ return (function(string $basepath, array $getVars, array $serverVars, array $coo
|
||||||
['load', [false], Dice::CHAIN_CALL],
|
['load', [false], Dice::CHAIN_CALL],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
ViewDefinition::class => [
|
\Friendica\Database\Definition\ViewDefinition::class => [
|
||||||
'constructParams' => [
|
'constructParams' => [
|
||||||
$basepath,
|
$basepath,
|
||||||
],
|
],
|
||||||
|
@ -135,7 +131,7 @@ return (function(string $basepath, array $getVars, array $serverVars, array $coo
|
||||||
['load', [false], Dice::CHAIN_CALL],
|
['load', [false], Dice::CHAIN_CALL],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
Database::class => [
|
\Friendica\Database\Database::class => [
|
||||||
'constructParams' => [
|
'constructParams' => [
|
||||||
[Dice::INSTANCE => \Friendica\Core\Config\Model\ReadOnlyFileConfig::class],
|
[Dice::INSTANCE => \Friendica\Core\Config\Model\ReadOnlyFileConfig::class],
|
||||||
],
|
],
|
||||||
|
@ -257,7 +253,7 @@ return (function(string $basepath, array $getVars, array $serverVars, array $coo
|
||||||
$cookieVars,
|
$cookieVars,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
ICanWriteToStorage::class => [
|
\Friendica\Core\Storage\Capability\ICanWriteToStorage::class => [
|
||||||
'instanceOf' => \Friendica\Core\Storage\Repository\StorageManager::class,
|
'instanceOf' => \Friendica\Core\Storage\Repository\StorageManager::class,
|
||||||
'call' => [
|
'call' => [
|
||||||
['getBackend', [], Dice::CHAIN_CALL],
|
['getBackend', [], Dice::CHAIN_CALL],
|
||||||
|
|
Loading…
Add table
Reference in a new issue