stub createUnpinnedWarning0

This commit is contained in:
ansuz committed 2017-12-12 13:47:24 +01:00
1 parent 7b8321c263
commit 76af3b90a7
2 files changed
+4 -4

No files matched your search

+3 -4
View File
@@ -4,18 +4,17 @@ define([
'/common/common-util.js', '/common/common-util.js',
'/common/common-hash.js', '/common/common-hash.js',
'/common/common-messaging.js', '/common/common-messaging.js',
'/common/common-realtime.js',
'/common/common-constants.js', '/common/common-constants.js',
'/common/common-feedback.js', '/common/common-feedback.js',
'/common/outer/local-store.js', '/common/outer/local-store.js',
'/common/outer/store-rpc.js', '/common/outer/store-rpc.js',
'/common/pinpad.js',
'/customize/application_config.js', '/customize/application_config.js',
'/bower_components/nthen/index.js', '/bower_components/nthen/index.js',
], function (Config, Messages, Util, Hash, ], function (Config, Messages, Util, Hash,
Messaging, Realtime, Constants, Feedback, LocalStore, AStore, Messaging, Constants, Feedback, LocalStore, AStore,
Pinpad, AppConfig, Nthen) { AppConfig, Nthen) {
/* This file exposes functionality which is specific to Cryptpad, but not to /* This file exposes functionality which is specific to Cryptpad, but not to
any particular pad type. This includes functions for committing metadata any particular pad type. This includes functions for committing metadata
+1
View File
@@ -720,6 +720,7 @@ define([
}; };
var createUnpinnedWarning0 = function (toolbar, config) { var createUnpinnedWarning0 = function (toolbar, config) {
if (true) { return; } // stub this call since it won't make it into the next release
if (Common.isLoggedIn()) { return; } if (Common.isLoggedIn()) { return; }
var pd = config.metadataMgr.getPrivateData(); var pd = config.metadataMgr.getPrivateData();
var o = pd.origin; var o = pd.origin;