Using filesize optiontype
authorMarcel Werk <burntime@woltlab.com>
Wed, 9 Jan 2013 21:00:53 +0000 (22:00 +0100)
committerMarcel Werk <burntime@woltlab.com>
Wed, 9 Jan 2013 21:00:53 +0000 (22:00 +0100)
userGroupOption.xml

index 68b22591f14653882427e92282f33c3e274e1c88..59d232c6de16ea53ff6953206f7586a46771449a 100644 (file)
@@ -60,8 +60,8 @@
                        </option>
                        <option name="user.conversation.maxAttachmentSize">
                                <categoryname>user.conversation</categoryname>
-                               <optiontype>integer</optiontype>
-                               <defaultvalue>1000000</defaultvalue>
+                               <optiontype>filesize</optiontype>
+                               <defaultvalue>1 MB</defaultvalue>
                                <options>module_attachment</options>
                        </option>
                        <option name="user.conversation.allowedAttachmentExtensions">