1
0
Fork 0

Functionality is now split

This commit is contained in:
Michael 2018-10-03 09:15:38 +00:00
commit 3ab837f3c7
13 changed files with 71 additions and 1727 deletions

View file

@ -283,7 +283,7 @@ class Transmitter
*
* @return permission array
*/
public static function createPermissionBlockForItem($item)
private static function createPermissionBlockForItem($item)
{
$data = ['to' => [], 'cc' => []];
@ -684,7 +684,7 @@ class Transmitter
'id' => System::baseUrl() . '/activity/' . System::createGUID(),
'type' => 'Delete',
'actor' => $owner['url'],
'object' => self::profile($uid),
'object' => $owner['url'],
'published' => DateTimeFormat::utcNow(DateTimeFormat::ATOM),
'to' => [ActivityPub::PUBLIC_COLLECTION],
'cc' => []];