mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-07 15:54:26 +02:00
Remove unused deprecated XML output in mod/ping
- Remove unused parameters localUser and uid in mod/ping - Unify data array initialization in mod/ping
This commit is contained in:
parent
5a12bd87f3
commit
b002f6f027
2 changed files with 43 additions and 162 deletions
|
@ -499,7 +499,7 @@ function insertBBCodeInTextarea(BBCode, textarea) {
|
|||
|
||||
function NavUpdate() {
|
||||
if (!stopped) {
|
||||
var pingCmd = 'ping?format=json' + ((localUser != 0) ? '&uid=' + localUser : '');
|
||||
var pingCmd = 'ping';
|
||||
$.get(pingCmd, function(data) {
|
||||
if (data.result) {
|
||||
// send nav-update event
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue