mirror of
https://github.com/friendica/friendica
synced 2025-04-26 06:30:11 +00:00
App->contact is now removed
This commit is contained in:
parent
f60d60e997
commit
30aad250df
16 changed files with 65 additions and 54 deletions
|
@ -11,6 +11,7 @@ use Friendica\Core\System;
|
|||
use Friendica\Database\DBA;
|
||||
use Friendica\DI;
|
||||
use Friendica\Model;
|
||||
use Friendica\Model\Contact;
|
||||
use Friendica\Network\HTTPException;
|
||||
use Friendica\Protocol\Activity;
|
||||
use Friendica\Util\XML;
|
||||
|
@ -59,7 +60,7 @@ class Poke extends BaseModule
|
|||
$deny_cid = ($private ? '' : $a->user['deny_cid']);
|
||||
$deny_gid = ($private ? '' : $a->user['deny_gid']);
|
||||
|
||||
$actor = $a->contact;
|
||||
$actor = Contact::getById($a->contact_id);
|
||||
|
||||
$uri = Model\Item::newURI($uid);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue