summaryrefslogtreecommitdiff
path: root/static/classes
diff options
context:
space:
mode:
authorEric Johansson (neku) <neku@pomf.se>2015-06-13 22:56:51 +0200
committerEric Johansson (neku) <neku@pomf.se>2015-06-13 22:56:51 +0200
commitea6a7a0194c3895aa563cc20d96dc900ed267689 (patch)
tree6889deb3a98c913ce09863f922716af7d3a12d40 /static/classes
parentba0dd80228d4f9869aa86e3ce4daa6bbf273eda7 (diff)
Update UploadedFile.class.php
crc32 isn't used
Diffstat (limited to 'static/classes')
-rw-r--r--static/classes/UploadedFile.class.php12
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;
- }
}
?>