From 17efb92b4e33257c6a4e9e09dce68fb287602c75 Mon Sep 17 00:00:00 2001 From: HungryFeline Date: Sun, 7 Jul 2013 09:13:14 +0200 Subject: [PATCH] Update main.php --- ext/upload/main.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ext/upload/main.php b/ext/upload/main.php index 9c92cb19..2e7a073e 100644 --- a/ext/upload/main.php +++ b/ext/upload/main.php @@ -56,9 +56,7 @@ class Upload extends Extension { $this->is_full = false; } else { - // TODO: This size limit should be configureable by the admin... - // currently set to 100 MB - $this->is_full = $free_num < 100*1024*1024; + $this->is_full = $free_num < MIN_FREE_SPACE; } }