From: Hypolite Petovan Date: Mon, 9 Jan 2023 14:22:30 +0000 (-0500) Subject: [public_server] Add expected "event" key in public_server_cron() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5a9b63ff3b3b0606acfcedd6826cfacb567e7a26;p=friendica-addons.git [public_server] Add expected "event" key in public_server_cron() - Address https://github.com/friendica/friendica/issues/12488#issuecomment-1372634282 --- 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'),