Use deprecated directive instead of note

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
Christoph Wurst
2022-11-14 13:27:16 +01:00
committed by backportbot-nextcloud[bot]
parent 0a81cb4f88
commit 85b4fa3628

View File

@@ -677,7 +677,8 @@ tbd
Hooks
-----
.. warning:: The hooks mechanism is deprecated. Use the `OCP event dispatcher`_ instead.
.. deprecated:: 18
Use the `OCP event dispatcher`_ instead.
.. sectionauthor:: Bernhard Posselt <dev@bernhard-posselt.com>
@@ -861,8 +862,9 @@ Filesystem scanner hooks available in scope **\\OC\\Files\\Utils\\Scanner**:
Public emitter
--------------------
--------------
.. warning:: The public emitter mechanism is deprecated. Use the `OCP event dispatcher`_ instead.
.. deprecated:: 18
Use the `OCP event dispatcher`_ instead.
tbd