You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_33.rst
+9-2Lines changed: 9 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,8 +34,15 @@ Removed APIs
34
34
To replace ``OC.reload`` directly use ``window.location.reload``.
35
35
- ``OC.fileIsBlacklisted`` was removed. It was deprecated since Nextcloud 18.
36
36
The replacement is to use ``validateFilename`` from the `@nextcloud/files <https://www.npmjs.com/package/@nextcloud/files>`_ package.
37
-
- The `OCA.Sharing.ExternalLinkActions` API was deprecated in Nextcloud 23 and is now removed.
38
-
It was replaced with `OCA.Sharing.ExternalShareAction` which now have a proper API by using `registerSidebarAction` from `@nextcloud/sharing` instead.
37
+
- The deprecated host methods from `OC` were deprecated since Nextcloud 17 and are now removed
38
+
39
+
- To replace ``OC.getHost`` use ``window.location.host``.
40
+
- To replace ``OC.getHostName`` use ``window.location.hostname``.
41
+
- To replace ``OC.getPort`` use ``window.location.port``.
42
+
- To replace ``OC.getProtocol`` use ``window.location.protocol``.
43
+
44
+
- The ``OCA.Sharing.ExternalLinkActions`` API was deprecated in Nextcloud 23 and is now removed.
45
+
It was replaced with ``OCA.Sharing.ExternalShareAction`` which now have a proper API by using ``registerSidebarAction`` from `@nextcloud/sharing <https://www.npmjs.com/package/@nextcloud/sharing>`_ instead.
0 commit comments