Skip to content

Commit b269013

Browse files
committed
Document the deprecation of <options> and <permissions>
1 parent 3f2b558 commit b269013

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

docs/package/pip/event-listener.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,14 @@ If the nice value of two event listeners is equal, they are sorted by the listen
4848

4949
### `<options>`
5050

51+
!!! info "The use of `<options>` has been deprecated in WoltLab Suite 6.0. Use a regular `{if}` statement in the template instead."
52+
5153
The options element can contain a comma-separated list of options of which at least one needs to be enabled for the event listener to be executed.
5254

5355
### `<permissions>`
5456

57+
!!! info "The use of `<permissions>` has been deprecated in WoltLab Suite 6.0. Use a regular `{if}` statement in the template instead."
58+
5559
The permissions element can contain a comma-separated list of permissions of which the active user needs to have at least one for the event listener to be executed.
5660

5761

docs/package/pip/template-listener.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,16 @@ If the nice value of two template listeners is equal, the order is undefined.
4646

4747
<span class="label label-info">Optional</span>
4848

49+
!!! info "The use of `<options>` has been deprecated in WoltLab Suite 6.0. Use a regular `{if}` statement in the template instead."
50+
4951
The options element can contain a comma-separated list of options of which at least one needs to be enabled for the template listener to be executed.
5052

5153
### `<permissions>`
5254

5355
<span class="label label-info">Optional</span>
5456

57+
!!! info "The use of `<permissions>` has been deprecated in WoltLab Suite 6.0. Use a regular `{if}` statement in the template instead."
58+
5559
The permissions element can contain a comma-separated list of permissions of which the active user needs to have at least one for the template listener to be executed.
5660

5761
## Example

0 commit comments

Comments
 (0)