diff options
author | Samuel <faust64@gmail.com> | 2021-02-05 10:45:44 +0100 |
---|---|---|
committer | Samuel <faust64@gmail.com> | 2021-02-05 10:45:44 +0100 |
commit | 73338a061bc2d14302de561e81af23967deab4ed (patch) | |
tree | 2b2871f59306f0a19b8a6aad3b71521a3ddaa2d4 /apps/files_sharing/src/share.js | |
parent | df9ce19a6b0db6bbe74c12b184ac798787344cfa (diff) | |
download | nextcloud-server-73338a061bc2d14302de561e81af23967deab4ed.tar.gz nextcloud-server-73338a061bc2d14302de561e81af23967deab4ed.zip |
fix(debug): remove debug log in _formatRemoteShare, suggested by @maxbes
Signed-off-by: Samuel <faust64@gmail.com>
Diffstat (limited to 'apps/files_sharing/src/share.js')
-rw-r--r-- | apps/files_sharing/src/share.js | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/apps/files_sharing/src/share.js b/apps/files_sharing/src/share.js index 47c57e70b6c..abcb444cb48 100644 --- a/apps/files_sharing/src/share.js +++ b/apps/files_sharing/src/share.js @@ -348,14 +348,13 @@ import escapeHTML from 'escape-html' /** * Format a remote address * - * @param {String} shareWith userid, full remote share, or whatever - * @param {String} shareWithDisplayName - * @param {String} message - * @returns {String} HTML code to display - */ + * @param {String} shareWith userid, full remote share, or whatever + * @param {String} shareWithDisplayName + * @param {String} message + * @returns {String} HTML code to display + */ _formatRemoteShare: function(shareWith, shareWithDisplayName, message) { var parts = OCA.Sharing.Util._REMOTE_OWNER_REGEXP.exec(shareWith) - console.error(parts); if (!parts || !parts[7]) { // display avatar of the user var avatar = '<span class="avatar" data-username="' + escapeHTML(shareWith) + '" title="' + message + ' ' + escapeHTML(shareWithDisplayName) + '"></span>' |