mirror of
https://github.com/friendica/friendica
synced 2025-04-26 20:30:11 +00:00
Move functions to system
move some functions to system
This commit is contained in:
parent
f04d40a37e
commit
9b8599b619
21 changed files with 169 additions and 169 deletions
|
@ -10,7 +10,6 @@ use Friendica\Core\L10n;
|
|||
use Friendica\Core\NotificationsManager;
|
||||
use Friendica\Core\System;
|
||||
use Friendica\Database\DBM;
|
||||
use Friendica\Util\Network;
|
||||
|
||||
function notifications_post(App $a) {
|
||||
|
||||
|
@ -139,7 +138,7 @@ function notifications_content(App $a) {
|
|||
|
||||
// Json output
|
||||
if (intval($json) === 1) {
|
||||
Network::jsonExit($notifs);
|
||||
System::jsonExit($notifs);
|
||||
}
|
||||
|
||||
$notif_tpl = get_markup_template('notifications.tpl');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue