Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2021-02-08 23:40:05 +0300
committerGitHub <noreply@github.com>2021-02-08 23:40:05 +0300
commit983f7f3e49d4175cf8faae34db9aeaef4b036267 (patch)
tree88d98f8ad14a8e8ffbaef2cd6f6709175b15b5de /apps/files_sharing/src
parent4854f91d94c5bf489c1916548ed39ec0046b244e (diff)
parent69df6c41de1e8148d6fb337cd3b818f2593c4db1 (diff)
Merge pull request #25493 from Worteks/fix-filessharing-debug
fix(log): remove debug log in _formatRemoteShare, suggested by @maxbes
Diffstat (limited to 'apps/files_sharing/src')
-rw-r--r--apps/files_sharing/src/share.js11
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>'