summaryrefslogtreecommitdiff
path: root/static/classes/UploadedFile.class.php
diff options
context:
space:
mode:
authorEliot Whalan <ewhal@pantsu.cat>2016-06-17 05:18:17 +0200
committerEliot Whalan <ewhal@pantsu.cat>2016-06-17 05:18:17 +0200
commit42a85d9be1bf34e7c2d48a8f5dd8edd416acee09 (patch)
treeffb8fa90feed91b9043bebea7ede2d3458e6a9a2 /static/classes/UploadedFile.class.php
parentfa2558eeea7f9a0175cade2cceb8c886013b64f5 (diff)
parentc42d0ec5c05f430e4454aab9b05932067b94bcb7 (diff)
Merge branch 'camelCase'
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);