diff options
author | Simon L <szaimen@e.mail.de> | 2023-06-24 17:45:00 +0200 |
---|---|---|
committer | nextcloud-command <nextcloud-command@users.noreply.github.com> | 2023-06-24 16:25:58 +0000 |
commit | ff40cd7563192ef3c1389c9f093487099da2c09f (patch) | |
tree | c7f9d69d21d200e96fe4045c353a2fe2d10424e3 /core/src/OCA | |
parent | 4f666927bdfeb49791238b7c4b9fe191d709576e (diff) | |
download | nextcloud-server-ff40cd7563192ef3c1389c9f093487099da2c09f.tar.gz nextcloud-server-ff40cd7563192ef3c1389c9f093487099da2c09f.zip |
Move deprecation warnings to debug
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Diffstat (limited to 'core/src/OCA')
-rw-r--r-- | core/src/OCA/search.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/OCA/search.js b/core/src/OCA/search.js index 10b629a0cf3..f0395c0bcd5 100644 --- a/core/src/OCA/search.js +++ b/core/src/OCA/search.js @@ -26,7 +26,7 @@ export default class Search { * @deprecated 20.0.0, will be removed in Nextcloud 22 */ constructor() { - console.warn('OCA.Search is deprecated. Please use the unified search API instead') + OC.debug && console.warn('OCA.Search is deprecated. Please use the unified search API instead') } } |