summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/site.clj6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/site.clj b/src/site.clj
index 7c34372..c9c034d 100644
--- a/src/site.clj
+++ b/src/site.clj
@@ -920,12 +920,6 @@ FROM users u
(def max-vip-file-size (mbytes 5)) ; don't be nuts guys
(def max-file-size (mbytes 1))
(def max-avatar-size (kbytes 500))
-(def ignore-size-limit-for-vip true)
-
-(defn file-size-limit [vip]
- (if (and ignore-size-limit-for-vip vip)
- max-vip-file-size
- max-file-size))
(defn is-file-too-big? [f limit]
(if (> (.length f) limit)