From ea6a7a0194c3895aa563cc20d96dc900ed267689 Mon Sep 17 00:00:00 2001 From: "Eric Johansson (neku)" Date: Sat, 13 Jun 2015 22:56:51 +0200 Subject: Update UploadedFile.class.php crc32 isn't used --- static/classes/UploadedFile.class.php | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'static') diff --git a/static/classes/UploadedFile.class.php b/static/classes/UploadedFile.class.php index 102d6d9..1cf8914 100644 --- a/static/classes/UploadedFile.class.php +++ b/static/classes/UploadedFile.class.php @@ -23,17 +23,5 @@ class UploadedFile { return $this->sha1; } - - /** - * Generates the CRC32 or returns the cached CRC32 hash for the file. - * - * @return string - */ - public function get_crc32 () { - if (!$this->crc32) - $this->crc32 = hash_file('crc32b', $this->tempfile); - - return $this->crc32; - } } ?> -- cgit v1.2.3