mirror of
https://github.com/nextcloud/documentation.git
synced 2025-10-26 11:18:02 +00:00
Merge pull request #9353 from nextcloud/backport/9350/stable24
[stable24] Use deprecated directive instead of note
This commit is contained in:
commit
e2223474c2
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Supporting more databases
|
||||
-------------------------
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user