mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-03 02:09:45 +07:00
feat(dev): Clarify IStorage::getOwner() return type
Signed-off-by: provokateurin <kate@provokateurin.de>
This commit is contained in:
@@ -35,7 +35,7 @@ to check whether the current Files app instance is a public share or not, and if
|
||||
.. code-block:: JavaScript
|
||||
|
||||
import { isPublicShare, getSharingToken } from '@nextcloud/sharing/public'
|
||||
|
||||
|
||||
if (isPublicShare()) {
|
||||
console.info('This is a public share with the sharing token: ', getSharingToken())
|
||||
}
|
||||
@@ -73,7 +73,7 @@ Added APIs
|
||||
Changed APIs
|
||||
^^^^^^^^^^^^
|
||||
|
||||
- TBD
|
||||
- Clarify ``OCP\Files\Storage\IStorage::getOwner()`` returns ``string|false``.
|
||||
|
||||
Deprecated APIs
|
||||
^^^^^^^^^^^^^^^
|
||||
|
||||
Reference in New Issue
Block a user