Skip to content

Commit a9e580f

Browse files
committed
chore: document removal of OC.redirect and OC.reload
Signed-off-by: Ferdinand Thiessen <[email protected]>
1 parent 26b81ed commit a9e580f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_33.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ Removed APIs
2929
- ``OC.set`` and ``OC.get`` were removed. Both are deprecated since Nextcloud 19.
3030
For ``get``, if really needed, use `lodash get <https://lodash.com/docs#get>`_.
3131
And for ``set``, use `lodash set <https://lodash.com/docs#set>`_.
32+
- ``OC.redirect`` and ``OC.reload`` were removed. Both were deprecated since Nextcloud 17.
33+
To replace ``OC.redirect`` directly use ``window.location``.
34+
To replace ``OC.reload`` directly use ``window.location.reload``.
3235
- The `OCA.Sharing.ExternalLinkActions` API was deprecated in Nextcloud 23 and is now removed.
3336
It was replaced with `OCA.Sharing.ExternalShareAction` which now have a proper API by using `registerSidebarAction` from `@nextcloud/sharing` instead.
3437

0 commit comments

Comments
 (0)