mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Fixing SpamFilterPart filenames
This commit is contained in:
@@ -1,11 +1,11 @@
|
|||||||
using System;
|
using Orchard.ContentManagement;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Web;
|
|
||||||
using Orchard.ContentManagement.Records;
|
|
||||||
|
|
||||||
namespace Orchard.AntiSpam.Models {
|
namespace Orchard.AntiSpam.Models {
|
||||||
public class SpamFilterPartRecord : ContentPartRecord {
|
public class SpamFilterPart : ContentPart<SpamFilterPartRecord> {
|
||||||
public virtual SpamStatus Status { get; set; }
|
|
||||||
|
public SpamStatus Status {
|
||||||
|
get { return Record.Status; }
|
||||||
|
set { Record.Status = value; }
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -1,16 +1,7 @@
|
|||||||
using System;
|
using Orchard.ContentManagement.Records;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Web;
|
|
||||||
using Orchard.ContentManagement;
|
|
||||||
using Orchard.ContentManagement.Records;
|
|
||||||
|
|
||||||
namespace Orchard.AntiSpam.Models {
|
namespace Orchard.AntiSpam.Models {
|
||||||
public class SpamFilterPart : ContentPart<SpamFilterPartRecord> {
|
public class SpamFilterPartRecord : ContentPartRecord {
|
||||||
|
public virtual SpamStatus Status { get; set; }
|
||||||
public SpamStatus Status {
|
|
||||||
get { return Record.Status; }
|
|
||||||
set { Record.Status = value; }
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -111,7 +111,7 @@
|
|||||||
<Compile Include="Models\ReCaptchaSettingsPart.cs" />
|
<Compile Include="Models\ReCaptchaSettingsPart.cs" />
|
||||||
<Compile Include="Models\TypePadSettingsPart.cs" />
|
<Compile Include="Models\TypePadSettingsPart.cs" />
|
||||||
<Compile Include="Models\TypePadSettingsPartRecord.cs" />
|
<Compile Include="Models\TypePadSettingsPartRecord.cs" />
|
||||||
<Compile Include="Models\SpamFilterPart.cs" />
|
<Compile Include="Models\_SpamFilterPart.cs" />
|
||||||
<Compile Include="Models\ReCaptchaPart.cs" />
|
<Compile Include="Models\ReCaptchaPart.cs" />
|
||||||
<Compile Include="Models\SpamFilterPartRecord.cs" />
|
<Compile Include="Models\SpamFilterPartRecord.cs" />
|
||||||
<Compile Include="Models\SpamStatus.cs" />
|
<Compile Include="Models\SpamStatus.cs" />
|
||||||
|
Reference in New Issue
Block a user