wsp-10317 (Update sql) Add enable\disable users ability for smart mail integration + multi-actions
This commit is contained in:
parent
1220a131a4
commit
82efa08870
48 changed files with 5110 additions and 12 deletions
|
@ -8690,4 +8690,14 @@ UPDATE WebDavPortalUsersSettings
|
|||
SET
|
||||
Settings = @Settings
|
||||
WHERE AccountId = @AccountId
|
||||
GO
|
||||
|
||||
IF NOT EXISTS (SELECT * FROM [dbo].[Providers] WHERE [DisplayName] = 'SmarterMail 10.x +')
|
||||
BEGIN
|
||||
INSERT [dbo].[Providers] ([ProviderId], [GroupId], [ProviderName], [DisplayName], [ProviderType], [EditorControl], [DisableAutoDiscovery]) VALUES(66, 4, N'SmarterMail', N'SmarterMail 10.x +', N'WebsitePanel.Providers.Mail.SmarterMail10, WebsitePanel.Providers.Mail.SmarterMail10', N'SmarterMail100', NULL)
|
||||
END
|
||||
ELSE
|
||||
BEGIN
|
||||
UPDATE [dbo].[Providers] SET [EditorControl] = 'SmarterMail100' WHERE [DisplayName] = 'SmarterMail 10.x +'
|
||||
END
|
||||
GO
|
Loading…
Add table
Add a link
Reference in a new issue