remove calendarimporter dependency...

This commit is contained in:
Christoph Haas 2013-10-28 12:27:54 +00:00
parent 8633b93b12
commit ecb8ccfc49

View File

@ -231,14 +231,12 @@ Zarafa.plugins.contactimporter.ImportPlugin = Ext.extend(Zarafa.core.Plugin, {
*############################################################################################################################*/ *############################################################################################################################*/
Zarafa.onReady(function() { Zarafa.onReady(function() {
if(container.getSettingsModel().get("zarafa/v1/plugins/contactimporter/enable") === true) { if(container.getSettingsModel().get("zarafa/v1/plugins/contactimporter/enable") === true) {
if(container.getSettingsModel().get("zarafa/v1/plugins/calendarimporter/enable") === true) { container.registerPlugin(new Zarafa.core.PluginMetaData({
container.registerPlugin(new Zarafa.core.PluginMetaData({ name : 'contactimporter',
name : 'contactimporter', displayName : _('Contactimporter Plugin'),
displayName : _('Contactimporter Plugin'), about : Zarafa.plugins.contactimporter.ABOUT,
about : Zarafa.plugins.contactimporter.ABOUT, allowUserDisable : true,
allowUserDisable : true, pluginConstructor : Zarafa.plugins.contactimporter.ImportPlugin
pluginConstructor : Zarafa.plugins.contactimporter.ImportPlugin }));
}));
}
} }
}); });