aboutsummaryrefslogtreecommitdiffstats
path: root/include/attach.php
diff options
context:
space:
mode:
authorChristian Vogeley <christian.vogeley@hotmail.de>2013-09-08 17:19:09 +0200
committerChristian Vogeley <christian.vogeley@hotmail.de>2013-09-08 17:19:09 +0200
commitf4dfb90dbc9b7590d9b8bf84df9ca746f1aa1d6f (patch)
treeca3b772411fc6c6da25e7889cd2260427dc774ee /include/attach.php
parent94fb9c240661a9cd2b7199a648e9c5b4f9b69e8d (diff)
downloadvolse-hubzilla-f4dfb90dbc9b7590d9b8bf84df9ca746f1aa1d6f.tar.gz
volse-hubzilla-f4dfb90dbc9b7590d9b8bf84df9ca746f1aa1d6f.tar.bz2
volse-hubzilla-f4dfb90dbc9b7590d9b8bf84df9ca746f1aa1d6f.zip
Service class items
Items / webpages /attachment message
Diffstat (limited to 'include/attach.php')
-rw-r--r--include/attach.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/attach.php b/include/attach.php
index 46d406f4b..da08154c6 100644
--- a/include/attach.php
+++ b/include/attach.php
@@ -339,7 +339,7 @@ function attach_store($channel,$observer_hash,$options = '',$arr = null) {
intval($channel_id)
);
if(($r) && (($r[0]['total'] + $filesize) > ($limit - $existing_size))) {
- $ret['message'] = upgrade_message(true);
+ $ret['message'] = upgrade_message(true).sprintf(t("You have reached your limit of %1$.0f Mbytes attachment storage."),$limit / 1024000);
@unlink($src);
return $ret;
}