mirror of
https://github.com/WhatCD/Gazelle.git
synced 2024-12-15 03:46:25 +00:00
9 lines
430 B
PHP
9 lines
430 B
PHP
|
<?
|
||
|
|
||
|
$Skip = array();
|
||
|
$Skip[] = db_string($_GET['skip']);
|
||
|
$NotificationsManager = new NotificationsManager($LoggedUser['ID'], $Skip);
|
||
|
|
||
|
json_die("success", $NotificationsManager->get_notifications());
|
||
|
|
||
|
//echo '{"status":"success","response":[[{"message":"1st notification","url":"https:\/\/www.google.com\/","importance":"alert","AutoExpire":false},{"message":"2nd notification","url":"","importance":"alert","AutoExpire":true}]]}';
|