mirror of
https://github.com/friendica/friendica
synced 2025-04-25 15:50:10 +00:00
old boot.php functions replaced in src/module (2)
This commit is contained in:
parent
b36d4eb0dd
commit
c9f17e1ef5
21 changed files with 102 additions and 88 deletions
|
@ -23,6 +23,7 @@ namespace Friendica\Module\Debug;
|
|||
|
||||
use Friendica\BaseModule;
|
||||
use Friendica\Core\Renderer;
|
||||
use Friendica\Core\Session;
|
||||
use Friendica\DI;
|
||||
use Friendica\Protocol\ActivityPub;
|
||||
use Friendica\Util\JsonLD;
|
||||
|
@ -41,7 +42,7 @@ class ActivityPubConversion extends BaseModule
|
|||
try {
|
||||
$source = json_decode($_REQUEST['source'], true);
|
||||
$trust_source = true;
|
||||
$uid = local_user();
|
||||
$uid = Session::getLocalUser();
|
||||
$push = false;
|
||||
|
||||
if (!$source) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue