mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Corrected blog post handler for background tasks
--HG-- branch : dev
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using System.Collections.Specialized;
|
||||
using System.Web;
|
||||
using System.Web.Mvc;
|
||||
using System.Web.Routing;
|
||||
@@ -82,6 +83,13 @@ namespace Orchard.Mvc {
|
||||
public override bool IsAuthenticated {
|
||||
get { return false; }
|
||||
}
|
||||
|
||||
// empty collection provided for background operation
|
||||
public override NameValueCollection Form {
|
||||
get {
|
||||
return new NameValueCollection();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user