Refactoring Logging to use Configuration

This commit is contained in:
Philipp Holzer
2019-02-11 21:13:53 +01:00
parent eafcf3592d
commit 80f1feabe5
13 changed files with 141 additions and 146 deletions
+8
View File
@@ -7,6 +7,14 @@ use Friendica\Database;
class DBFactory
{
/**
* Initialize the DBA connection
*
* @param Cache\ConfigCache $configCache The configuration cache
* @param array $server The $_SERVER variables
*
* @throws \Exception if connection went bad
*/
public static function init(Cache\ConfigCache $configCache, array $server)
{
if (Database\DBA::connected()) {