1
0
Fork 0

Merge pull request #8142 from nupplaphil/task/di_config

CleanUp Config namespace
This commit is contained in:
Hypolite Petovan 2020-01-19 22:22:57 -05:00 committed by GitHub
commit 04d620fc2f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
207 changed files with 1276 additions and 1439 deletions

View file

@ -6,8 +6,8 @@
namespace Friendica\Util;
use Friendica\Database\DBA;
use Friendica\Core\Config;
use Friendica\Core\Logger;
use Friendica\DI;
use Friendica\Model\User;
use Friendica\Model\APContact;
@ -233,7 +233,7 @@ class HTTPSignature
$iv = $key = $alg = $data = null;
if (!$prvkey) {
$prvkey = Config::get('system', 'prvkey');
$prvkey = DI::config()->get('system', 'prvkey');
}
$matches = [];