]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Drop the username from the log id for now; seems to trigger an error loop in some...
authorBrion Vibber <brion@pobox.com>
Fri, 27 Nov 2009 21:29:33 +0000 (13:29 -0800)
committerBrion Vibber <brion@pobox.com>
Fri, 27 Nov 2009 21:29:33 +0000 (13:29 -0800)
lib/util.php

index fa74c2f861cbe88411e9fe81b445e39dbcd73643..99a0a1db30fee5c9fd73f38ced66699445e7e57b 100644 (file)
@@ -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";
     }
 }