prevent mod/cloud looping (ping gets a new session on each call [wtf?] which triggers our "changed uid" detector)

This commit is contained in:
friendica 2014-02-22 03:38:23 -08:00
parent f63e220939
commit 9c4c0e6d23
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ function ping_init(&$a) {
header("content-type: application/json");
$result['invalid'] = ((intval($_GET['uid'])) && (intval($_GET['uid']) != local_user()) ? 1 : 0);
$result['invalid'] = ((local_user()) && (intval($_GET['uid'])) && (intval($_GET['uid']) != local_user()) ? 1 : 0);
if(x($_SESSION,'sysmsg')){
foreach ($_SESSION['sysmsg'] as $m){

View File

@ -1 +1 @@
2014-02-21.595
2014-02-22.596