summaryrefslogtreecommitdiff
path: root/src/node/db
diff options
context:
space:
mode:
authorCristo <cristo.rabani@gmail.com>2014-11-12 19:49:08 +0100
committerCristo <cristo.rabani@gmail.com>2014-11-12 19:49:08 +0100
commit24ac082cae6ad8842d3028a14ec9ecb8bbd47b9a (patch)
treea3c559aff2852f2d53f99b78684f45719be1bcea /src/node/db
parent9d39c9591adab5b6638e16ee54e7f87a9147e015 (diff)
downloadetherpad-lite-24ac082cae6ad8842d3028a14ec9ecb8bbd47b9a.zip
Update API.js
Diffstat (limited to 'src/node/db')
-rw-r--r--src/node/db/API.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/node/db/API.js b/src/node/db/API.js
index b3d46ea1..d933f99e 100644
--- a/src/node/db/API.js
+++ b/src/node/db/API.js
@@ -587,7 +587,6 @@ exports.restoreRevision = function (padID, rev, callback)
{
var Changeset = require("ep_etherpad-lite/static/js/Changeset");
var padMessage = require("ep_etherpad-lite/node/handler/PadMessageHandler.js");
-
//check if rev is a number
if (rev !== undefined && typeof rev != "number")
{