mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-02 17:59:36 +07:00
Merge pull request #12046 from nextcloud/dev/45559/document-reason-lock-wait-timeout
docs(developer): document the new reason code for a lock wait timeout…
This commit is contained in:
@@ -128,6 +128,7 @@ Changed APIs
|
||||
- ``OCP\Notification\INotifier::prepare()`` should no longer throw ``\InvalidArgumentException``. ``OCP\Notification\UnknownNotificationException`` should be thrown when the notifier does not want to handle the notification. ``\InvalidArgumentException`` are logged as debug for now and will be logged as error in the future to help developers find issues from code that unintentionally threw ``\InvalidArgumentException``
|
||||
- ``OCP\IGroupManager::isAdmin()`` should be used instead of checking is current user is part of admin group manually.
|
||||
- ``IAttributes`` ``enabled`` key have bee renamed to ``value`` and supports more than boolean.
|
||||
- ``OCP\DB\Exception`` uses the reason code ``REASON_LOCK_WAIT_TIMEOUT`` now, instead of ``REASON_SERVER`` for a LockWaitTimeoutException.
|
||||
|
||||
Deprecated APIs
|
||||
^^^^^^^^^^^^^^^
|
||||
|
||||
Reference in New Issue
Block a user