File tree Expand file tree Collapse file tree
developer_manual/release_notes Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -54,17 +54,20 @@ Removed back-end APIs
5454- ``\OCP\Share_Backend ``, ``\OCP\Share_Backend_Collection ``, ``\OCP\Share_Backend_File_Dependent `` were removed. This old
5555 share backend was replaced in Nextcloud 9 with a new backend system based on ``IShareProvider ``.
5656- All these methods were deprecated since before Nextcloud 20 and were removed:
57+
5758 - ``\OCP\AppFramework\Http\EmptyContentSecurityPolicy::allowEvalScript ``
5859 - ``\OCP\AppFramework\Http\EmptyContentSecurityPolicy::addAllowedChildSrcDomain ``
5960 - ``\OCP\AppFramework\Http\EmptyContentSecurityPolicy::disallowChildSrcDomain ``
6061 - ``\OCP\Collaboration\Resources\IManager::registerResourceProvider ``
6162 - ``\OCP\Notification\IManager::registerNotifier ``
6263 - ``\OCP\Util::recursiveArraySearch ``
6364- All these classes were deprecated since before Nextcloud 20 and were removed:
65+
6466 - ``\OCP\AppFramework\Http\StrictContentSecurityPolicy ``
6567 - ``\OCP\AppFramework\Http\StrictEvalContentSecurityPolicy ``
6668 - ``\OCP\AppFramework\Http\StrictInlineContentSecurityPolicy ``
67- - Various methods from the legacy ``OC_Util `` static class were removed.
69+ - Various methods from the legacy ``OC_Util `` static class were removed:
70+
6871 - Instead of ``\OC_Util::encodePath `` use ``\OCP\Util::encodePath ``.
6972 - Instead of ``\OC_Util::sanitizeHTML `` use ``\OCP\Util::sanitizeHTML ``
7073 - Instead of ``\OC_Util::redirectToDefaultPage `` and ``\OC_Util::getDefaultPageUrl `` use ``\OCP\IUrlGenerator::linkToDefaultPageUrl ``
You can’t perform that action at this time.
0 commit comments