Skip to content

Commit 4dc2763

Browse files
committed
chore: remove OC.set and OC.get
Both are deprecated since Nextcloud 19. - For `get`, if really needed, use https://lodash.com/docs#get - And for `set` https://lodash.com/docs#set Signed-off-by: Ferdinand Thiessen <[email protected]>
1 parent 9e1ed70 commit 4dc2763

File tree

2 files changed

+0
-55
lines changed

2 files changed

+0
-55
lines changed

core/src/OC/get_set.js

Lines changed: 0 additions & 46 deletions
This file was deleted.

core/src/OC/index.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ import { currentUser, getCurrentUser } from './currentuser.js'
4949
import { debug } from './debug.js'
5050
import Dialogs from './dialogs.js'
5151
import EventSource from './eventsource.js'
52-
import { get, set } from './get_set.js'
5352
import {
5453
getHost,
5554
getHostName,
@@ -234,14 +233,6 @@ export default {
234233
* @deprecated 19.0.0 use `generateUrl` from https://www.npmjs.com/package/@nextcloud/router
235234
*/
236235
generateUrl,
237-
/**
238-
* @deprecated 19.0.0 use https://lodash.com/docs#get
239-
*/
240-
get: get(window),
241-
/**
242-
* @deprecated 19.0.0 use https://lodash.com/docs#set
243-
*/
244-
set: set(window),
245236
/**
246237
* @deprecated 19.0.0 use `getRootUrl` from https://www.npmjs.com/package/@nextcloud/router
247238
*/

0 commit comments

Comments
 (0)