diff options
author | Brion Vibber <brion@pobox.com> | 2009-11-27 13:29:33 -0800 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2009-11-27 13:29:33 -0800 |
commit | 9f075a6898c9b8468f469cc9cf68541569d46bfa (patch) | |
tree | d3c7ce181c98b123e356137ef049f43c36c7de06 /lib | |
parent | 58a75b09684a88181d8bd6ead440d27832886b80 (diff) |
Drop the username from the log id for now; seems to trigger an error loop in some circumstances
Diffstat (limited to 'lib')
-rw-r--r-- | lib/util.php | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/util.php b/lib/util.php index fa74c2f86..99a0a1db3 100644 --- a/lib/util.php +++ b/lib/util.php @@ -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"; } } |