From c42d0ec5c05f430e4454aab9b05932067b94bcb7 Mon Sep 17 00:00:00 2001 From: Eliot Whalan Date: Fri, 17 Jun 2016 13:15:02 +1000 Subject: Rename all functions to camelCase as set by psr2 --- static/classes/UploadedFile.class.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'static/classes/UploadedFile.class.php') 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); -- cgit v1.2.3