diff options
| author | Eric Johansson (neku) <neku@pomf.se> | 2015-06-13 22:56:51 +0200 |
|---|---|---|
| committer | Eric Johansson (neku) <neku@pomf.se> | 2015-06-13 22:56:51 +0200 |
| commit | ea6a7a0194c3895aa563cc20d96dc900ed267689 (patch) | |
| tree | 6889deb3a98c913ce09863f922716af7d3a12d40 /static/classes/UploadedFile.class.php | |
| parent | ba0dd80228d4f9869aa86e3ce4daa6bbf273eda7 (diff) | |
Update UploadedFile.class.php
crc32 isn't used
Diffstat (limited to 'static/classes/UploadedFile.class.php')
| -rw-r--r-- | static/classes/UploadedFile.class.php | 12 |
1 files changed, 0 insertions, 12 deletions
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; - } } ?> |
