mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Fixing build
--HG-- branch : 1.x
This commit is contained in:
@@ -30,6 +30,8 @@ namespace Orchard.AntiSpam.Drivers {
|
|||||||
if (part.Settings.GetModel<SpamFilterPartSettings>().DeleteSpam) {
|
if (part.Settings.GetModel<SpamFilterPartSettings>().DeleteSpam) {
|
||||||
updater.AddModelError("Spam", T("Spam detected."));
|
updater.AddModelError("Spam", T("Spam detected."));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return Editor(part, shapeHelper);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override DriverResult Display(SpamFilterPart part, string displayType, dynamic shapeHelper) {
|
protected override DriverResult Display(SpamFilterPart part, string displayType, dynamic shapeHelper) {
|
||||||
|
Reference in New Issue
Block a user