From 5a9b63ff3b3b0606acfcedd6826cfacb567e7a26 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Mon, 9 Jan 2023 09:22:30 -0500 Subject: [PATCH] [public_server] Add expected "event" key in public_server_cron() - Address https://github.com/friendica/friendica/issues/12488#issuecomment-1372634282 --- public_server/public_server.php | 1 + 1 file changed, 1 insertion(+) diff --git a/public_server/public_server.php b/public_server/public_server.php index 8d0a80f5..5bc08821 100644 --- a/public_server/public_server.php +++ b/public_server/public_server.php @@ -55,6 +55,7 @@ function public_server_cron(App $a, $b) foreach ($users as $rr) { DI::notify()->createFromArray([ 'type' => Notification\Type::SYSTEM, + 'event' => 'SYSTEM_PUBLIC_SERVER_EXPIRATION', 'uid' => $rr['uid'], 'system_type' => 'public_server_expire', 'source_name' => DI::l10n()->t('Administrator'),