]> source.dussan.org Git - nextcloud-server.git/commitdiff
Don't use more entropy for etags
authorMichael Gapczynski <mtgap@owncloud.com>
Sat, 12 Jan 2013 01:56:36 +0000 (20:56 -0500)
committerMichael Gapczynski <mtgap@owncloud.com>
Sat, 12 Jan 2013 01:56:36 +0000 (20:56 -0500)
lib/files/storage/common.php

index e859d447f396eb9d1b82f01014b526dd55b3da3a..591803f0440988895b1aed1daf1e1475396d70bd 100644 (file)
@@ -274,7 +274,7 @@ abstract class Common implements \OC\Files\Storage\Storage {
                        $hash = call_user_func($ETagFunction, $path);
                        return $hash;
                }else{
-                       return uniqid('', true);
+                       return uniqid();
                }
        }
 }