Some more standards
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user