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 /apps/files_sharing/src | |
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 'apps/files_sharing/src')
-rw-r--r-- | apps/files_sharing/src/services/ExternalLinkActions.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/src/services/ExternalLinkActions.js b/apps/files_sharing/src/services/ExternalLinkActions.js index bef668ae298..b8fe3b53994 100644 --- a/apps/files_sharing/src/services/ExternalLinkActions.js +++ b/apps/files_sharing/src/services/ExternalLinkActions.js @@ -52,7 +52,7 @@ export default class ExternalLinkActions { * @return {boolean} */ registerAction(action) { - console.debug('OCA.Sharing.ExternalLinkActions is deprecated, use OCA.Sharing.ExternalShareAction instead') + OC.debug && console.debug('OCA.Sharing.ExternalLinkActions is deprecated, use OCA.Sharing.ExternalShareAction instead') if (typeof action === 'object' && action.icon && action.name && action.url) { this._state.actions.push(action) |