mirror of
https://github.com/friendica/friendica
synced 2025-04-24 11:10:18 +00:00
Renamed functions
This commit is contained in:
parent
591619e1d3
commit
a696b7f427
5 changed files with 7 additions and 7 deletions
|
@ -47,7 +47,7 @@ class Notifications extends BaseApi
|
|||
if (!DBA::exists('notify', ['id' => $id, 'uid' => $uid])) {
|
||||
DI::mstdnError()->RecordNotFound();
|
||||
}
|
||||
System::jsonExit(DI::mstdnNotification()->create($id));
|
||||
System::jsonExit(DI::mstdnNotification()->createFromNotifyId($id));
|
||||
}
|
||||
|
||||
// Return results older than this ID
|
||||
|
@ -110,7 +110,7 @@ class Notifications extends BaseApi
|
|||
|
||||
$notify = DBA::select('notify', ['id'], $condition, $params);
|
||||
while ($notification = DBA::fetch($notify)) {
|
||||
$notifications[] = DI::mstdnNotification()->create($notification['id']);
|
||||
$notifications[] = DI::mstdnNotification()->createFromNotifyId($notification['id']);
|
||||
}
|
||||
|
||||
if (!empty($min_id)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue