mirror of
https://github.com/friendica/friendica
synced 2025-04-26 19:50:10 +00:00
Remove unused uid parameter in Item::newURI
This commit is contained in:
parent
b31c2f4ec1
commit
eb8237dd89
10 changed files with 17 additions and 18 deletions
|
@ -203,7 +203,7 @@ class Statuses extends BaseApi
|
|||
|
||||
if (!empty($request['scheduled_at'])) {
|
||||
$item['guid'] = Item::guid($item, true);
|
||||
$item['uri'] = Item::newURI($item['uid'], $item['guid']);
|
||||
$item['uri'] = Item::newURI($item['guid']);
|
||||
$id = Post\Delayed::add($item['uri'], $item, PRIORITY_HIGH, Post\Delayed::PREPARED, $request['scheduled_at']);
|
||||
if (empty($id)) {
|
||||
DI::mstdnError()->InternalError();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue