forked from GNUsocial/gnu-social
Drop the username from the log id for now; seems to trigger an error loop in some circumstances
This commit is contained in:
parent
b933f5bb15
commit
914242e224
@ -1064,12 +1064,7 @@ function common_request_id()
|
||||
$url = $_SERVER['REQUEST_URI'];
|
||||
}
|
||||
$method = $_SERVER['REQUEST_METHOD'];
|
||||
if (common_logged_in()) {
|
||||
$user = common_current_user()->nickname;
|
||||
} else {
|
||||
$user = 'anon';
|
||||
}
|
||||
return "$pid.$req_id $user $method $url";
|
||||
return "$pid.$req_id $method $url";
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user