summaryrefslogtreecommitdiffstats
path: root/lib/files
diff options
context:
space:
mode:
authorMichael Gapczynski <mtgap@owncloud.com>2013-01-11 20:56:36 -0500
committerMichael Gapczynski <mtgap@owncloud.com>2013-01-11 20:56:36 -0500
commit8a63bcc1e85499335ade1df459f0c9f467161404 (patch)
tree9c5ee75d8ef9deeab582ed7aa8c63de1fc34f5b7 /lib/files
parent6801f82d090195573972e15d3cda96b0fde24460 (diff)
downloadnextcloud-server-8a63bcc1e85499335ade1df459f0c9f467161404.tar.gz
nextcloud-server-8a63bcc1e85499335ade1df459f0c9f467161404.zip
Don't use more entropy for etags
Diffstat (limited to 'lib/files')
-rw-r--r--lib/files/storage/common.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/files/storage/common.php b/lib/files/storage/common.php
index e859d447f39..591803f0440 100644
--- a/lib/files/storage/common.php
+++ b/lib/files/storage/common.php
@@ -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();
}
}
}