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
parent 0a7d298f3d
commit 3f9cfe3bd8
2 changed files with 9 additions and 7 deletions

View File

@@ -669,7 +669,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>
@@ -853,8 +854,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

View File

@@ -314,8 +314,10 @@ mapping, simply override the **columnToProperty** and **propertyToColumn** metho
.. _database-entity-slugs:
Slugs (deprecated)
^^^^^^^^^^^^^^^^^^
Slugs
^^^^^
.. deprecated:: 24
Slugs are used to identify resources in the URL by a string rather than integer id. Since the URL allows only certain values, the entity base class provides a slugify method for it:
@@ -326,8 +328,6 @@ Slugs are used to identify resources in the URL by a string rather than integer
$author->setName('Some*thing');
$author->slugify('name'); // Some-thing
.. note:: Entity slugs have been deprecated with the release of Nextcloud 24
Table management tips
-------------------------