mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-25 10:59:18 +08:00
Refactoring
--HG-- branch : dev
This commit is contained in:
@@ -11,7 +11,6 @@ using System.Globalization;
|
||||
namespace Orchard.PublishLater.Drivers {
|
||||
public class PublishLaterPartDriver : ContentPartDriver<PublishLaterPart> {
|
||||
private const string TemplateName = "Parts/PublishLater";
|
||||
private readonly ICommonService _commonService;
|
||||
private readonly IPublishLaterService _publishLaterService;
|
||||
private const string DatePattern = "M/d/yyyy";
|
||||
private const string TimePattern = "h:mm tt";
|
||||
@@ -20,7 +19,6 @@ namespace Orchard.PublishLater.Drivers {
|
||||
IOrchardServices services,
|
||||
ICommonService commonService,
|
||||
IPublishLaterService publishLaterService) {
|
||||
_commonService = commonService;
|
||||
_publishLaterService = publishLaterService;
|
||||
T = NullLocalizer.Instance;
|
||||
Services = services;
|
||||
|
||||
Reference in New Issue
Block a user