Move insight storage to a plugin
This commit is contained in:
parent
5f2a508f40
commit
15d11f7e5e
5 changed files with 82 additions and 59 deletions
|
|
@ -30,6 +30,7 @@ var KIND_MULTIPLE = PluginManager.KIND_MULTIPLE = 2;
|
|||
|
||||
PluginManager.TYPE = {};
|
||||
PluginManager.TYPE['DB'] = KIND_UNIQUE;
|
||||
PluginManager.TYPE['remote-backup'] = KIND_UNIQUE;
|
||||
|
||||
PluginManager.prototype._register = function(obj, name) {
|
||||
preconditions.checkArgument(obj.type, 'Plugin has not type:' + name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue