summaryrefslogtreecommitdiff
path: root/static/classes/UploadedFile.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'static/classes/UploadedFile.class.php')
-rw-r--r--static/classes/UploadedFile.class.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/static/classes/UploadedFile.class.php b/static/classes/UploadedFile.class.php
index c55a22d..03b7429 100644
--- a/static/classes/UploadedFile.class.php
+++ b/static/classes/UploadedFile.class.php
@@ -20,10 +20,9 @@ class UploadedFile
/**
* Generates the SHA-1 or returns the cached SHA-1 hash for the file.
*
- * @deprecated 2.1.0 To be replaced with SHA-256 hashing.
* @return string|false $sha1
*/
- public function get_sha1()
+ public function getSha1()
{
if (!$this->sha1) {
$this->sha1 = sha1_file($this->tempfile);