valid_enum is now choice
This commit is contained in:
@ -6,17 +6,12 @@
|
||||
<variable name="description" type="string" multi="True">
|
||||
<value>test</value>
|
||||
</variable>
|
||||
<variable name="mode" type="string">
|
||||
<variable name="mode" type="choice">
|
||||
<choice>pre</choice>
|
||||
<choice>post</choice>
|
||||
<value>pre</value>
|
||||
</variable>
|
||||
</family>
|
||||
</family>
|
||||
</variables>
|
||||
<constraints>
|
||||
<check name="valid_enum">
|
||||
<param>pre</param>
|
||||
<param>post</param>
|
||||
<target>extra.ejabberd.description.mode</target>
|
||||
</check>
|
||||
</constraints>
|
||||
</rougail>
|
||||
|
Reference in New Issue
Block a user