aboutsummaryrefslogtreecommitdiffstats
path: root/include/attach.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-09-08 16:33:30 -0700
committerfriendica <info@friendica.com>2013-09-08 16:33:30 -0700
commitf8afdb3cba25dc7dc70ac3d7c6e48e6595bd97d5 (patch)
tree54d231b76eafef25a92dc6be8bfb0ad0215d4b95 /include/attach.php
parentb88f60b51ff9416c35b5af9ce849026666c47cc8 (diff)
parentb4a2361efc7bc4b49f5195a2c14573a41c55f300 (diff)
downloadvolse-hubzilla-f8afdb3cba25dc7dc70ac3d7c6e48e6595bd97d5.tar.gz
volse-hubzilla-f8afdb3cba25dc7dc70ac3d7c6e48e6595bd97d5.tar.bz2
volse-hubzilla-f8afdb3cba25dc7dc70ac3d7c6e48e6595bd97d5.zip
Merge pull request #118 from cvogeley/master
Service class checks
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;
}