Use timezone object
[GitHub/WoltLab/WCF.git] / XSD / eventListener.xsd
index 91021414c654169b09f8faf6c86e4b1e9388f811..1fa58016713b45ae4d0534a5fc667ee0a9fb2f07 100644 (file)
                                </xs:simpleType>
                        </xs:element>
                        <xs:element name="inherit" type="woltlab_boolean" minOccurs="0" />
-                       <xs:element name="environment" type="woltlab_environment" minOccurs="0" />
+                       <xs:element name="environment" minOccurs="0">
+                               <xs:simpleType>
+                                       <xs:restriction base="xs:string">
+                                               <xs:enumeration value="user" />
+                                               <xs:enumeration value="admin" />
+                                               <xs:enumeration value="all" />
+                                       </xs:restriction>
+                               </xs:simpleType>
+                       </xs:element>
                        <xs:element name="nice" minOccurs="0">
                                <xs:simpleType>
                                        <xs:restriction base="xs:integer">