Commit 3c49aeeb authored by Romain Courteaud's avatar Romain Courteaud

ReplicateStorage: drop not needed getMethod parameter

parent 84cba972
...@@ -809,10 +809,10 @@ ...@@ -809,10 +809,10 @@
conflict_force, conflict_revert, conflict_force, conflict_revert,
conflict_ignore, conflict_ignore,
status_hash, status_hash,
getMethod, options) { options) {
queue queue
.push(function () { .push(function () {
return getMethod(id); return source.get(id);
}) })
.push(function (doc) { .push(function (doc) {
var local_hash = generateHash(stringify(doc)); var local_hash = generateHash(stringify(doc));
...@@ -884,7 +884,6 @@ ...@@ -884,7 +884,6 @@
options.conflict_revert, options.conflict_revert,
options.conflict_ignore, options.conflict_ignore,
status_hash, status_hash,
source.get.bind(source),
options]); options]);
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment