diff options
author | Simon L <szaimen@e.mail.de> | 2023-06-16 14:03:23 +0200 |
---|---|---|
committer | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2023-06-24 16:54:11 +0200 |
commit | 872483f279732908d60d1a85abedcc8fb79a625a (patch) | |
tree | b8efe26dd07d335bc3e6f38db8a3da3bc4ed9e91 /core/src/OCA | |
parent | 1afc82327aecbd372ddcd5bf8306bcb3722700ed (diff) | |
download | nextcloud-server-872483f279732908d60d1a85abedcc8fb79a625a.tar.gz nextcloud-server-872483f279732908d60d1a85abedcc8fb79a625a.zip |
only print deprecation logs if debug mode is enabled
Signed-off-by: Simon L <szaimen@e.mail.de>
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 e206e04f4b7..81a86a04247 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.debug('OCA.Search is deprecated. Please use the unified search API instead') + OC.debug && console.debug('OCA.Search is deprecated. Please use the unified search API instead') } } |