Move insight storage to a plugin

This commit is contained in:
Esteban Ordano 2014-10-23 15:47:24 -03:00 committed by Matias Alejo Garcia
commit 15d11f7e5e
5 changed files with 82 additions and 59 deletions

View file

@ -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);