mirror of
https://github.com/friendica/friendica
synced 2025-05-20 09:04:12 +02:00
Functions renamed
This commit is contained in:
parent
e548d647aa
commit
5ac73a847d
3 changed files with 7 additions and 7 deletions
|
@ -2817,7 +2817,7 @@ class Diaspora
|
|||
* @param object $photo
|
||||
* @return void
|
||||
*/
|
||||
private static function storePhoto(int $uriid, $photo)
|
||||
private static function storePhotoAsMedia(int $uriid, $photo)
|
||||
{
|
||||
$data = [];
|
||||
$data['uri-id'] = $uriid;
|
||||
|
@ -2878,7 +2878,7 @@ class Diaspora
|
|||
// Attach embedded pictures to the body
|
||||
if ($data->photo) {
|
||||
foreach ($data->photo as $photo) {
|
||||
self::storePhoto($datarray['uri-id'], $photo);
|
||||
self::storePhotoAsMedia($datarray['uri-id'], $photo);
|
||||
$body = "[img]".XML::unescape($photo->remote_photo_path).
|
||||
XML::unescape($photo->remote_photo_name)."[/img]\n".$body;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue