]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Inbox.php
Remove deprecated code
[friendica.git] / src / Module / Inbox.php
index d6a33606df0797fa81a1c03850ec6bda4f9fbf87..21f2698b7c8f7de2e387c495a051de20656a8bc1 100644 (file)
@@ -6,9 +6,7 @@
 namespace Friendica\Module;
 
 use Friendica\BaseModule;
-use Friendica\Core\Config;
 use Friendica\Core\Logger;
-use Friendica\Core\System;
 use Friendica\Database\DBA;
 use Friendica\DI;
 use Friendica\Protocol\ActivityPub;
@@ -30,7 +28,7 @@ class Inbox extends BaseModule
                        throw new \Friendica\Network\HTTPException\BadRequestException();
                }
 
-               if (Config::get('debug', 'ap_inbox_log')) {
+               if (DI::config()->get('debug', 'ap_inbox_log')) {
                        if (HTTPSignature::getSigner($postdata, $_SERVER)) {
                                $filename = 'signed-activitypub';
                        } else {