summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2009-10-28 22:24:20 +0000
committerZach Copley <zach@status.net>2009-10-28 22:24:20 +0000
commitb9ce23d0c2c1266b57997bd0d19891aa653d694c (patch)
tree290caa5aa1f63b8f997a1a02b930311a4906a180 /lib
parent2d0aba49d913b7d4598073d5ff56237f736731d0 (diff)
Rework MailDaemon to use the MediaFile class for uploads
Diffstat (limited to 'lib')
-rw-r--r--lib/mediafile.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mediafile.php b/lib/mediafile.php
index 31868daec..4aa8211c3 100644
--- a/lib/mediafile.php
+++ b/lib/mediafile.php
@@ -242,7 +242,7 @@ class MediaFile
$stream = stream_get_meta_data($fh);
- if (MediaFile::respectsQuota($user, filesize($stream['uri']))) {
+ if (!MediaFile::respectsQuota($user, filesize($stream['uri']))) {
// Should never actually get here