From: Brion Vibber Date: Fri, 27 Nov 2009 21:29:33 +0000 (-0800) Subject: Drop the username from the log id for now; seems to trigger an error loop in some... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=914242e22452255adad69419e324f36717243f93;p=quix0rs-gnu-social.git Drop the username from the log id for now; seems to trigger an error loop in some circumstances --- diff --git a/lib/util.php b/lib/util.php index fa74c2f861..99a0a1db30 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"; } }