This project is read-only.


Topics: Customizing Orchard, Writing modules
Mar 10, 2012 at 10:00 AM

What is the purpose of the following code (bold) in the blog module, ie. BlogPostService class:

	public void Delete(BlogPostPart blogPostPart) {

I'm learning a lot by seeing what is done in other modules and when I came to the delete subject for my own module I found this bit. So far I'm only using the _contentManager.Remove() method and all works fine, however, I'm wondering if I'm missing out on something.

Is there somewhere some documentation on the IPublishingTaskManager concept perhaps?


Mar 10, 2012 at 5:37 PM

This code should not be there. It is supposed to removed any publish later task. This should be handled by the pupblishlater module itself. You can file a bug for this.