aboutsummaryrefslogtreecommitdiffstats
path: root/include/reddav.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-01-11 12:58:00 -0800
committerfriendica <info@friendica.com>2014-01-11 12:58:00 -0800
commitcff7056f8ff809251448de269bbc5e13780f35de (patch)
tree75886f1e6f00138b5839acca2f0c9fe375c64420 /include/reddav.php
parentf125be846c4e0b68bf687eecf12e64512dd40df0 (diff)
downloadvolse-hubzilla-cff7056f8ff809251448de269bbc5e13780f35de.tar.gz
volse-hubzilla-cff7056f8ff809251448de269bbc5e13780f35de.tar.bz2
volse-hubzilla-cff7056f8ff809251448de269bbc5e13780f35de.zip
mod_attach: output stream wasn't working
Diffstat (limited to 'include/reddav.php')
-rw-r--r--include/reddav.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/reddav.php b/include/reddav.php
index d80bcedde..d00980011 100644
--- a/include/reddav.php
+++ b/include/reddav.php
@@ -163,6 +163,7 @@ class RedDirectory extends DAV\Node implements DAV\ICollection {
intval($c[0]['channel_account_id'])
);
if(($x) && ($x[0]['total'] + $size > $limit)) {
+ logger('reddav: service class limit exceeded for ' . $c[0]['channel_name'] . ' total usage is ' . $x[0]['total'] . ' limit is ' . $limit);
attach_delete($c[0]['channel_id'],$hash);
return;
}
@@ -372,6 +373,7 @@ class RedFile extends DAV\Node implements DAV\IFile {
intval($c[0]['channel_account_id'])
);
if(($x) && ($x[0]['total'] + $size > $limit)) {
+ logger('reddav: service class limit exceeded for ' . $c[0]['channel_name'] . ' total usage is ' . $x[0]['total'] . ' limit is ' . $limit);
attach_delete($c[0]['channel_id'],$this->data['hash']);
return;
}