diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-02-13 10:20:41 +0100 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-02-13 16:41:45 +0100 |
commit | d4e68dd64a2433cb580f46041142b31bb2ebe6c8 (patch) | |
tree | 8b6479e01248f7643ba9f221c64a276e6265bafa /core/src/OC/get_set.js | |
parent | f39786660cccaf96f7d1ef2a72e030ccb456be8b (diff) | |
download | nextcloud-server-d4e68dd64a2433cb580f46041142b31bb2ebe6c8.tar.gz nextcloud-server-d4e68dd64a2433cb580f46041142b31bb2ebe6c8.zip |
Deprecate OC router helpers that are provided by packages
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'core/src/OC/get_set.js')
-rw-r--r-- | core/src/OC/get_set.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/src/OC/get_set.js b/core/src/OC/get_set.js index 12f9aab56eb..b4dcd563eff 100644 --- a/core/src/OC/get_set.js +++ b/core/src/OC/get_set.js @@ -23,6 +23,7 @@ * Get a variable by name * @param {string} context context * @returns {Function} getter + * @deprecated 19.0.0 use https://lodash.com/docs#get */ export const get = context => name => { const namespaces = name.split('.') @@ -41,6 +42,7 @@ export const get = context => name => { * Set a variable by name * @param {string} context context * @returns {Function} setter + * @deprecated 19.0.0 use https://lodash.com/docs#set */ export const set = context => (name, value) => { const namespaces = name.split('.') |