summaryrefslogtreecommitdiff
path: root/static/classes/UploadedFile.class.php
diff options
context:
space:
mode:
authorJuuso Lapinlampi <wub@partyvan.eu>2016-05-25 05:21:31 +0200
committerJuuso Lapinlampi <wub@partyvan.eu>2016-05-25 05:21:31 +0200
commitda885a986777e5fba5872d81221ee155821c13bf (patch)
tree15827b8328ceeedc0ebcef4b76a846670d3b463d /static/classes/UploadedFile.class.php
parent52a6916abe3a9fe74c4d86bee5536557c7a6fa5d (diff)
Response: Deprecate $sha1
get_sha1() was deprecated in a5314a2ff4cb503ff41da13ffd0e907f49ee4009, so formally $sha1 was also formally deprecated but not commented. Clarify we really want to deprecate $sha1 too. Updates CHANGELOG.md.
Diffstat (limited to 'static/classes/UploadedFile.class.php')
-rw-r--r--static/classes/UploadedFile.class.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/static/classes/UploadedFile.class.php b/static/classes/UploadedFile.class.php
index 20d42b3..ccbaea8 100644
--- a/static/classes/UploadedFile.class.php
+++ b/static/classes/UploadedFile.class.php
@@ -38,6 +38,7 @@ class UploadedFile
/**
* SHA-1 checksum
*
+ * @deprecated 2.1.0 To be replaced with SHA-256 hashing.
* @var string 40 digit hexadecimal hash (160 bits)
*/
private $sha1;