Merge branch '2016.11-develop' into 2017.02
[tine20] / tine20 / Felamimail / Controller / Message / Send.php
index 7b4a125..d0ae03c 100644 (file)
@@ -996,7 +996,7 @@ class Felamimail_Controller_Message_Send extends Felamimail_Controller_Message
     /**
      * get max attachment size for outgoing mails
      * 
-     * - currently it is set to memory_limit / 10
+     * - currently it is set to memory_limit
      * - returns size in Bytes
      * 
      * @return integer
@@ -1013,6 +1013,6 @@ class Felamimail_Controller_Message_Send extends Felamimail_Controller_Message
             $configuredMemoryLimit = '512M';
         }
         
-        return Tinebase_Helper::convertToBytes($configuredMemoryLimit) / 10;
+        return Tinebase_Helper::convertToBytes($configuredMemoryLimit);
     }
 }