summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etherpad/src/plugins/twitterStyleTags/hooks.js4
-rw-r--r--etherpad/src/plugins/urlIndexer/hooks.js4
2 files changed, 4 insertions, 4 deletions
diff --git a/etherpad/src/plugins/twitterStyleTags/hooks.js b/etherpad/src/plugins/twitterStyleTags/hooks.js
index 003bc32..9465ccc 100644
--- a/etherpad/src/plugins/twitterStyleTags/hooks.js
+++ b/etherpad/src/plugins/twitterStyleTags/hooks.js
@@ -23,10 +23,10 @@ function padModelWriteToDB(args) {
else
old_tags_str = '';
- var old_tags = old_tags_str != '' ? old_tags_str.split('#') : new Array();
+ // var old_tags = old_tags_str != '' ? old_tags_str.split('#') : new Array();
if (new_tags_str != old_tags_str) {
- log.info({message: 'Updating tags', new_tags:new_tags, old_tags:old_tags});
+ // log.info({message: 'Updating tags', new_tags:new_tags, old_tags:old_tags});
if (old_tags_row)
sqlobj.update("PAD_TAG_CACHE", {PAD_ID: args.padId }, {TAGS: new_tags.join('#')});
diff --git a/etherpad/src/plugins/urlIndexer/hooks.js b/etherpad/src/plugins/urlIndexer/hooks.js
index 922150e..1429895 100644
--- a/etherpad/src/plugins/urlIndexer/hooks.js
+++ b/etherpad/src/plugins/urlIndexer/hooks.js
@@ -20,10 +20,10 @@ function padModelWriteToDB(args) {
else
old_urls_str = '';
- var old_urls = old_urls_str != '' ? old_urls_str.split(' ') : new Array();
+ // var old_urls = old_urls_str != '' ? old_urls_str.split(' ') : new Array();
if (new_urls_str != old_urls_str) {
- log.info({message: 'Updating urls', new_urls:new_urls, old_urls:old_urls});
+ // log.info({message: 'Updating urls', new_urls:new_urls, old_urls:old_urls});
if (old_urls_row)
sqlobj.update("PAD_URL_CACHE", {PAD_ID: args.padId }, {URLS: new_urls.join(' ')});