Fix synchronous nthen callback
This commit is contained in:
parent
da32864413
commit
1e2b2a27cf
@ -21,7 +21,8 @@ define([
|
|||||||
|
|
||||||
// No version: visible edit
|
// No version: visible edit
|
||||||
// Version 2: encrypted edit links
|
// Version 2: encrypted edit links
|
||||||
SF.checkMigration = function (secondaryKey, proxy, uo, cb) {
|
SF.checkMigration = function (secondaryKey, proxy, uo, _cb) {
|
||||||
|
var cb = Util.once(Util.mkAsync(_cb));
|
||||||
var drive = proxy.drive || proxy;
|
var drive = proxy.drive || proxy;
|
||||||
// View access: can't migrate
|
// View access: can't migrate
|
||||||
if (!secondaryKey) { return void cb(); }
|
if (!secondaryKey) { return void cb(); }
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user