1.1 --- a/org/sonews/storage/Channel.java Wed Jul 22 14:04:05 2009 +0200
1.2 +++ b/org/sonews/storage/Channel.java Tue Apr 27 21:51:12 2010 +0200
1.3 @@ -74,18 +74,7 @@
1.4
1.5 public static Channel getByName(String name)
1.6 {
1.7 - Channel channel;
1.8 -
1.9 - // Check if it's an aggregated group
1.10 - channel = AggregatedGroup.getByName(name);
1.11 -
1.12 - // If it's not an aggregate is probably a "real" group
1.13 - if(channel == null)
1.14 - {
1.15 - channel = Group.getByName(name);
1.16 - }
1.17 -
1.18 - return channel;
1.19 + return Group.getByName(name);
1.20 }
1.21
1.22 public abstract Article getArticle(long idx)