Increase the minvalue for the user_*_lifetime options to 1 day
authorTim Düsterhus <duesterhus@woltlab.com>
Tue, 21 Sep 2021 12:55:00 +0000 (14:55 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Tue, 21 Sep 2021 12:57:19 +0000 (14:57 +0200)
A value of 0 is not useful, because deletion is completely unpredictable.

com.woltlab.wcf/option.xml

index e9ff6bc02256a250dd8c01bb8503f80f19653112..c8956bcb24ee79902319035033e25e9f2745777d 100644 (file)
@@ -1365,21 +1365,21 @@ DESC:wcf.global.sortOrder.descending</selectoptions>
                                <categoryname>user.cleanup</categoryname>
                                <optiontype>integer</optiontype>
                                <defaultvalue>14</defaultvalue>
-                               <minvalue>0</minvalue>
+                               <minvalue>1</minvalue>
                                <suffix>days</suffix>
                        </option>
                        <option name="user_cleanup_activity_event_lifetime">
                                <categoryname>user.cleanup</categoryname>
                                <optiontype>integer</optiontype>
                                <defaultvalue>60</defaultvalue>
-                               <minvalue>0</minvalue>
+                               <minvalue>1</minvalue>
                                <suffix>days</suffix>
                        </option>
                        <option name="user_cleanup_profile_visitor_lifetime">
                                <categoryname>user.cleanup</categoryname>
                                <optiontype>integer</optiontype>
                                <defaultvalue>60</defaultvalue>
-                               <minvalue>0</minvalue>
+                               <minvalue>1</minvalue>
                                <suffix>days</suffix>
                        </option>
                        <!-- /user.cleanup -->