Renamed functions

This commit is contained in:
Michael 2018-10-03 15:41:51 +00:00
parent 1fe55679fc
commit 8841519c0d
6 changed files with 17 additions and 17 deletions

View file

@ -1,6 +1,6 @@
<?php
/**
* @file src/Protocol/ActivityPub.php
* @file src/Protocol/ActivityPub/Processor.php
*/
namespace Friendica\Protocol\ActivityPub;
@ -93,7 +93,7 @@ class Processor
foreach ($attachments as $attach) {
$filetype = strtolower(substr($attach['mediaType'], 0, strpos($attach['mediaType'], '/')));
if ($filetype == 'image') {
$item['body'] .= "\n[img]".$attach['url'].'[/img]';
$item['body'] .= "\n[img]" . $attach['url'] . '[/img]';
} else {
if (!empty($item["attach"])) {
$item["attach"] .= ',';