Add legacy notification endpoint for deprecated Notify entity
- Add dependencies to Notifications\Notification module class
This commit is contained in:
parent
deafdcde95
commit
b7cee324b0
7 changed files with 112 additions and 50 deletions
|
@ -442,7 +442,7 @@ function ping_get_notifications($uid)
|
|||
DBA::update('notify', ['name_cache' => $notification["name"], 'msg_cache' => $notification["message"]], ['id' => $notification["id"]]);
|
||||
}
|
||||
|
||||
$notification["href"] = DI::baseUrl() . "/notification/" . $notification["id"];
|
||||
$notification["href"] = DI::baseUrl() . "/notify/" . $notification["id"];
|
||||
|
||||
if ($notification["visible"]
|
||||
&& !$notification["deleted"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue