mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-02 14:11:09 +00:00
Merge pull request #1348 from MrPetovan/bug/warnings
[public_server] Add expected "event" key in public_server_cron()
This commit is contained in:
commit
9763635e5b
3 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
/**
|
||||
* @copyright Copyright (C) 2010-2022, the Friendica project
|
||||
* @copyright Copyright (C) 2010-2023, the Friendica project
|
||||
*
|
||||
* @license GNU AGPL version 3 or any later version
|
||||
*
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
/**
|
||||
* @copyright Copyright (C) 2010-2022, the Friendica project
|
||||
* @copyright Copyright (C) 2010-2023, the Friendica project
|
||||
*
|
||||
* @license GNU AGPL version 3 or any later version
|
||||
*
|
||||
|
|
|
@ -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'),
|
||||
|
|
Loading…
Reference in a new issue