mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-02-01 03:12:42 +01:00
remove error logging
This commit is contained in:
parent
1e0de620be
commit
b8648b4a49
1 changed files with 0 additions and 2 deletions
|
@ -125,9 +125,7 @@ exports.doImport = function(req, res, padId)
|
||||||
if(fileIsEtherpad){
|
if(fileIsEtherpad){
|
||||||
// we do this here so we can see if the pad has quit ea few edits
|
// we do this here so we can see if the pad has quit ea few edits
|
||||||
padManager.getPad(padId, function(err, _pad){
|
padManager.getPad(padId, function(err, _pad){
|
||||||
console.error(_pad);
|
|
||||||
var headCount = _pad.head;
|
var headCount = _pad.head;
|
||||||
console.error(headCount);
|
|
||||||
if(headCount >= 10){
|
if(headCount >= 10){
|
||||||
apiLogger.warn("Direct database Import attempt of a pad that already has content, we wont be doing this")
|
apiLogger.warn("Direct database Import attempt of a pad that already has content, we wont be doing this")
|
||||||
return callback("padHasData");
|
return callback("padHasData");
|
||||||
|
|
Loading…
Reference in a new issue