Fixed failing publishing tests.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29564 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
N Smith
2011-08-05 13:01:09 +00:00
parent b1834d4339
commit ee66c4dab2
6 changed files with 76 additions and 55 deletions

View File

@@ -58,7 +58,6 @@ public class ChannelServiceImpl implements ChannelService
public static final String NAME = "channelService";
private final Map<String, ChannelType> channelTypes = new TreeMap<String, ChannelType>();
private SiteService siteService;
private NodeService nodeService;
private DictionaryService dictionaryService;
private ChannelHelper channelHelper;
@@ -246,19 +245,6 @@ public class ChannelServiceImpl implements ChannelService
return channelHelper.filterAuthorisedChannels(getStatusUpdateChannels(false));
}
/**
* {@inheritDoc}
*/
public List<Channel> getStatusUpdateChannels(NodeRef nodeToPublish)
{
SiteInfo site = siteService.getSite(nodeToPublish);
if(site!=null)
{
return getStatusUpdateChannels(false);
}
return Collections.emptyList();
}
private NodeRef getChannelContainer()
{
return rootObject.getChannelContainer();