-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheventListener.xml
61 lines (58 loc) · 3.28 KB
/
eventListener.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<?xml version="1.0" encoding="UTF-8"?>
<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/2019/eventListener.xsd">
<import>
<!-- User action -->
<eventlistener name="wickedUserActionAdmin">
<eventclassname>wcf\data\user\UserAction</eventclassname>
<eventname>finalizeAction</eventname>
<environment>admin</environment>
<listenerclassname>wcf\system\event\listener\WickedUserActionListener</listenerclassname>
</eventlistener>
<eventlistener name="wickedUserActionUser">
<eventclassname>wcf\data\user\UserAction</eventclassname>
<eventname>finalizeAction</eventname>
<environment>user</environment>
<listenerclassname>wcf\system\event\listener\WickedUserActionListener</listenerclassname>
</eventlistener>
<!-- Warning -->
<eventlistener name="wickedUserWarningActionUser">
<eventclassname>wcf\data\user\infraction\warning\UserInfractionWarningAction</eventclassname>
<eventname>finalizeAction</eventname>
<environment>user</environment>
<listenerclassname>wcf\system\event\listener\WickedUserWarningListener</listenerclassname>
</eventlistener>
<eventlistener name="wickedUserWarningActionAdmin">
<eventclassname>wcf\data\user\infraction\warning\UserInfractionWarningAction</eventclassname>
<eventname>finalizeAction</eventname>
<environment>admin</environment>
<listenerclassname>wcf\system\event\listener\WickedUserWarningListener</listenerclassname>
</eventlistener>
<!-- Suspension -->
<eventlistener name="wickedUserSuspensionActionUser">
<eventclassname>wcf\data\user\infraction\suspension\UserInfractionSuspensionAction</eventclassname>
<eventname>finalizeAction</eventname>
<environment>user</environment>
<listenerclassname>wcf\system\event\listener\WickedUserSuspensionListener</listenerclassname>
</eventlistener>
<eventlistener name="wickedUserSuspensionActionAdmin">
<eventclassname>wcf\data\user\infraction\suspension\UserInfractionSuspensionAction</eventclassname>
<eventname>finalizeAction</eventname>
<environment>admin</environment>
<listenerclassname>wcf\system\event\listener\WickedUserSuspensionListener</listenerclassname>
</eventlistener>
</import>
<delete>
<eventlistener name="wickedUserWarningAction">
<eventclassname>wcf\data\user\infraction\warning\UserInfractionWarningAction</eventclassname>
<eventname>finalizeAction</eventname>
<environment>admin</environment>
<listenerclassname>wcf\system\event\listener\WickedUserWarningListener</listenerclassname>
</eventlistener>
<eventlistener name="wickedUserSuspensionAction">
<eventclassname>wcf\data\user\infraction\suspension\UserInfractionSuspensionAction</eventclassname>
<eventname>finalizeAction</eventname>
<environment>admin</environment>
<listenerclassname>wcf\system\event\listener\WickedUserSuspensionListener</listenerclassname>
</eventlistener>
</delete>
</data>