diff options
| author | Juuso Lapinlampi <wub@partyvan.eu> | 2016-05-25 05:21:31 +0200 |
|---|---|---|
| committer | Juuso Lapinlampi <wub@partyvan.eu> | 2016-05-25 05:21:31 +0200 |
| commit | da885a986777e5fba5872d81221ee155821c13bf (patch) | |
| tree | 15827b8328ceeedc0ebcef4b76a846670d3b463d | |
| parent | 52a6916abe3a9fe74c4d86bee5536557c7a6fa5d (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.
| -rw-r--r-- | CHANGELOG.md | 4 | ||||
| -rw-r--r-- | static/classes/UploadedFile.class.php | 1 |
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; |
