mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-17 04:15:15 +02:00
More notices ...
This commit is contained in:
parent
61168ccb65
commit
703c668a37
4 changed files with 8 additions and 6 deletions
|
@ -115,7 +115,6 @@ function notifications_content(App $a)
|
|||
} elseif (($a->argc > 1) && ($a->argv[1] == 'home')) {
|
||||
$notif_header = L10n::t('Home Notifications');
|
||||
$notifs = $nm->homeNotifs($show, $startrec, $perpage);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
@ -134,7 +133,7 @@ function notifications_content(App $a)
|
|||
$notif_tpl = get_markup_template('notifications.tpl');
|
||||
|
||||
if (!isset($notifs['ident'])) {
|
||||
logger('Missing data in notifs: ' . System::callstack(20), LOGGER_DEBUG);
|
||||
logger('Missing data in notifs: ' . json_encode($a->argv), LOGGER_DEBUG);
|
||||
}
|
||||
|
||||
// Process the data for template creation
|
||||
|
|
|
@ -519,7 +519,7 @@ function ping_get_notifications($uid)
|
|||
* @param int $forums_unseen Number of unseen forum items
|
||||
* @return array XML-transform ready data array
|
||||
*/
|
||||
function ping_format_xml_data($data, $sysnotify, $notifs, $sysmsgs, $sysmsgs_info, $groups_unseen, $forums_unseen)
|
||||
function ping_format_xml_data($data, $sysnotify_count, $notifs, $sysmsgs, $sysmsgs_info, $groups_unseen, $forums_unseen)
|
||||
{
|
||||
$notifications = [];
|
||||
foreach ($notifs as $key => $notif) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue