summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md4
-rw-r--r--static/classes/UploadedFile.class.php1
2 files changed, 3 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 63c9fb4..e6e52ff 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -24,8 +24,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- Swig banners. Use Swig templates or an alternative. (Juuso Lapinlampi)
- Unused file expiration (`expire`). This feature may be removed in the
next major version. (Juuso Lapinlampi)
-- `get_sha1()` function. This API may be changed or removed in the next
- major version, switching to SHA-256 hashes. (Juuso Lapinlampi)
+- `get_sha1()` function and `$sha1` variable. This API may be changed or removed
+ in the next major version, switching to SHA-256 hashes. (Juuso Lapinlampi)
- `csv_error`, `csv_success`, `html_error`, `html_success`, `json_error`,
`json_success`, `text_error` and `text_success` functions. The
functions will be renamed to `camelCase` format (e.g. `csvError`,
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;