summaryrefslogtreecommitdiff
path: root/static/classes/UploadedFile.class.php
diff options
context:
space:
mode:
authorEliot Whalan <ewhal@pantsu.cat>2016-06-17 05:15:02 +0200
committerEliot Whalan <ewhal@pantsu.cat>2016-06-17 05:15:02 +0200
commitc42d0ec5c05f430e4454aab9b05932067b94bcb7 (patch)
tree2c420ae548dbdc53dc330ec6c9c3568af7661f80 /static/classes/UploadedFile.class.php
parent715fe4d01dce163169724e21124692899dbbe5a7 (diff)
Rename all functions to camelCase as set by psr2
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);