mirror of
https://github.com/friendica/friendica
synced 2025-04-28 09:44:23 +02:00
rename methods
This commit is contained in:
parent
fdc0236aa1
commit
3465bd9f11
2 changed files with 17 additions and 17 deletions
|
@ -112,27 +112,27 @@ function notifications_content(App $a)
|
|||
|
||||
$all = (($a->argc > 2) && ($a->argv[2] == 'all'));
|
||||
|
||||
$notifs = $nm->getIntroNotifies($all, $startrec, $perpage, $id);
|
||||
$notifs = $nm->getIntroList($all, $startrec, $perpage, $id);
|
||||
|
||||
// Get the network notifications
|
||||
} elseif (($a->argc > 1) && ($a->argv[1] == 'network')) {
|
||||
$notif_header = L10n::t('Network Notifications');
|
||||
$notifs = $nm->getNetworkNotifies($show, $startrec, $perpage);
|
||||
$notifs = $nm->getNetworkList($show, $startrec, $perpage);
|
||||
|
||||
// Get the system notifications
|
||||
} elseif (($a->argc > 1) && ($a->argv[1] == 'system')) {
|
||||
$notif_header = L10n::t('System Notifications');
|
||||
$notifs = $nm->getSystemNotifies($show, $startrec, $perpage);
|
||||
$notifs = $nm->getSystemList($show, $startrec, $perpage);
|
||||
|
||||
// Get the personal notifications
|
||||
} elseif (($a->argc > 1) && ($a->argv[1] == 'personal')) {
|
||||
$notif_header = L10n::t('Personal Notifications');
|
||||
$notifs = $nm->getPersonalNotifies($show, $startrec, $perpage);
|
||||
$notifs = $nm->getPersonalList($show, $startrec, $perpage);
|
||||
|
||||
// Get the home notifications
|
||||
} elseif (($a->argc > 1) && ($a->argv[1] == 'home')) {
|
||||
$notif_header = L10n::t('Home Notifications');
|
||||
$notifs = $nm->getHomeNotifies($show, $startrec, $perpage);
|
||||
$notifs = $nm->getHomeList($show, $startrec, $perpage);
|
||||
// fallback - redirect to main page
|
||||
} else {
|
||||
$a->internalRedirect('notifications');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue