public static bool UninstallCallbackModule() { bool isInstall; ModuleSettingsProvider.RemoveSqlSetting("email4notify", _moduleName); ModuleSettingsProvider.RemoveSqlSetting("emailFormat", _moduleName); ModuleSettingsProvider.RemoveSqlSetting("emailSubject", _moduleName); ModuleSettingsProvider.RemoveSqlSetting("windowTitle", _moduleName); ModuleSettingsProvider.RemoveSqlSetting("windowText", _moduleName); using (var da = new SQLDataAccess()) { if (!ModulesRepository.IsExistsModuleTable(da, "Module", _moduleName)) { return(true); } da.cmd.CommandText = "DROP TABLE Module." + _moduleName; da.cmd.CommandType = CommandType.Text; da.cnOpen(); da.cmd.ExecuteNonQuery(); da.cnClose(); isInstall = ModulesRepository.IsExistsModuleTable(da, "Module", _moduleName); } return(isInstall); }
public bool UninstallModule() { ModuleSettingsProvider.RemoveSqlSetting("UniSenderId", ModuleID); ModuleSettingsProvider.RemoveSqlSetting("UniSenderFromName", ModuleID); ModuleSettingsProvider.RemoveSqlSetting("UniSenderFromEmail", ModuleID); ModuleSettingsProvider.RemoveSqlSetting("UniSenderRegUsersList", ModuleID); ModuleSettingsProvider.RemoveSqlSetting("UniSenderOrderCustomersList", ModuleID); return(true); }
public static bool UninstallBuyInTimeModule() { ModuleSettingsProvider.RemoveSqlSetting("BuyInTimeActionTitle", ModuleName); ModuleSettingsProvider.RemoveSqlSetting("BuyInTimeLabel", ModuleName); ModuleSettingsProvider.RemoveSqlSetting("BuyInTimeDefaultActionTextMode1", ModuleName); ModuleSettingsProvider.RemoveSqlSetting("BuyInTimeDefaultActionTextMode2", ModuleName); return(true); }
public bool UninstallModule() { ModuleSettingsProvider.RemoveSqlSetting("MailChimpId", ModuleID); ModuleSettingsProvider.RemoveSqlSetting("MailChimpFromName", ModuleID); ModuleSettingsProvider.RemoveSqlSetting("MailChimpFromEmail", ModuleID); ModuleSettingsProvider.RemoveSqlSetting("MailChimpRegUsersList", ModuleID); ModuleSettingsProvider.RemoveSqlSetting("MailChimpOrderCustomer", ModuleID); return(true); }
public bool UninstallModule() { ModuleSettingsProvider.RemoveSqlSetting("WatermarkPositionX", ModuleStringId); ModuleSettingsProvider.RemoveSqlSetting("WatermarkPositionY", ModuleStringId); return(true); }
public bool UninstallModule() { ModuleSettingsProvider.RemoveSqlSetting("showmode", ModuleID); return(true); }