mirror of
https://github.com/friendica/friendica
synced 2025-04-24 00:30:11 +00:00
spelling: resource
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
b2dee7c0dc
commit
2b819b8f8c
8 changed files with 17 additions and 19 deletions
|
@ -153,11 +153,10 @@ class Update extends BaseApi
|
|||
continue;
|
||||
}
|
||||
|
||||
Photo::setPermissionForRessource($media[0]['resource-id'], $uid, $item['allow_cid'], $item['allow_gid'], $item['deny_cid'], $item['deny_gid']);
|
||||
Photo::setPermissionForResource($media[0]['resource-id'], $uid, $item['allow_cid'], $item['allow_gid'], $item['deny_cid'], $item['deny_gid']);
|
||||
|
||||
$ressources[] = $media[0]['resource-id'];
|
||||
$phototypes = Images::supportedTypes();
|
||||
$ext = $phototypes[$media[0]['type']];
|
||||
$phototypes = Images::supportedTypes();
|
||||
$ext = $phototypes[$media[0]['type']];
|
||||
|
||||
$attachment = [
|
||||
'type' => Post\Media::IMAGE,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue