summaryrefslogtreecommitdiff
path: root/static/classes
diff options
context:
space:
mode:
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;
- }
}
?>