Simpler log unique id.

This commit is contained in:
ringmaster 2014-05-24 09:17:29 -04:00 committed by Thomas Müller
parent f9dbdb7c5c
commit 428510a4f8

View file

@ -73,7 +73,7 @@ class OC_Log_Owncloud {
$time = $time->format($format);
if($minLevel == OC_Log::DEBUG) {
if(empty(self::$reqId)) {
self::$reqId = uniqid(microtime(true));
self::$reqId = uniqid();
}
$reqId = self::$reqId;
$url = $_SERVER['REQUEST_URI'];