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 /apps/files_sharing/src | |
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 '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 06cf97ed255..1975b38808a 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.warn('OCA.Sharing.ExternalLinkActions is deprecated, use OCA.Sharing.ExternalShareAction instead') + OC.debug && console.warn('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) |