mirror of
https://github.com/friendica/friendica
synced 2025-04-25 01:50:11 +00:00
Refactor ConfigMockTrait to mocked ConfigCache
This commit is contained in:
parent
38ac615ba0
commit
cb791024e4
27 changed files with 244 additions and 193 deletions
13
src/Core/Config/AbstractDbaConfigAdapter.php
Normal file
13
src/Core/Config/AbstractDbaConfigAdapter.php
Normal file
|
@ -0,0 +1,13 @@
|
|||
<?php
|
||||
|
||||
namespace Friendica\Core\Config;
|
||||
|
||||
use Friendica\Database\DBA;
|
||||
|
||||
abstract class AbstractDbaConfigAdapter
|
||||
{
|
||||
public function isConnected()
|
||||
{
|
||||
return DBA::connected();
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue