summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/src
diff options
context:
space:
mode:
authorSimon L <szaimen@e.mail.de>2023-06-24 17:45:00 +0200
committernextcloud-command <nextcloud-command@users.noreply.github.com>2023-06-24 16:25:58 +0000
commitff40cd7563192ef3c1389c9f093487099da2c09f (patch)
treec7f9d69d21d200e96fe4045c353a2fe2d10424e3 /apps/files_sharing/src
parent4f666927bdfeb49791238b7c4b9fe191d709576e (diff)
downloadnextcloud-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.js2
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)