mirror of
https://github.com/friendica/friendica
synced 2025-04-26 18:30:11 +00:00
Some more standards
This commit is contained in:
parent
f29cef175e
commit
c78d490c2e
1 changed files with 1 additions and 0 deletions
|
@ -122,6 +122,7 @@ class Subscription
|
||||||
public static function pushByNotificationId(int $nid)
|
public static function pushByNotificationId(int $nid)
|
||||||
{
|
{
|
||||||
$notification = DBA::selectFirst('notification', [], ['id' => $nid]);
|
$notification = DBA::selectFirst('notification', [], ['id' => $nid]);
|
||||||
|
|
||||||
$type = Notification::getType($notification);
|
$type = Notification::getType($notification);
|
||||||
if (empty($type)) {
|
if (empty($type)) {
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue