mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-25 08:03:41 +00:00
Merge pull request #1047 from annando/notification
Removed unneeded data for notifications
This commit is contained in:
commit
6bb2864395
2 changed files with 2 additions and 8 deletions
|
@ -58,12 +58,9 @@ function public_server_cron($a, $b)
|
|||
if (DBA::isResult($r)) {
|
||||
foreach ($r as $rr) {
|
||||
notification([
|
||||
'uid' => $rr['uid'],
|
||||
'type' => Type::SYSTEM,
|
||||
'uid' => $rr['uid'],
|
||||
'system_type' => 'public_server_expire',
|
||||
'language' => $rr['language'],
|
||||
'to_name' => $rr['username'],
|
||||
'to_email' => $rr['email'],
|
||||
'source_name' => DI::l10n()->t('Administrator'),
|
||||
'source_link' => DI::baseUrl()->get(),
|
||||
'source_photo' => DI::baseUrl()->get() . '/images/person-80.jpg',
|
||||
|
|
|
@ -58,12 +58,9 @@ function testdrive_cron($a,$b) {
|
|||
if(count($r)) {
|
||||
foreach($r as $rr) {
|
||||
notification([
|
||||
'uid' => $rr['uid'],
|
||||
'type' => Type::SYSTEM,
|
||||
'uid' => $rr['uid'],
|
||||
'system_type' => 'testdrive_expire',
|
||||
'language' => $rr['language'],
|
||||
'to_name' => $rr['username'],
|
||||
'to_email' => $rr['email'],
|
||||
'source_name' => DI::l10n()->t('Administrator'),
|
||||
'source_link' => DI::baseUrl()->get(),
|
||||
'source_photo' => DI::baseUrl()->get() . '/images/person-80.jpg',
|
||||
|
|
Loading…
Reference in a new issue