diff --git a/Common/dataobjects/Thread.cs b/Common/dataobjects/Thread.cs index d6c0723..d629459 100644 --- a/Common/dataobjects/Thread.cs +++ b/Common/dataobjects/Thread.cs @@ -235,7 +235,7 @@ namespace FLocal.Common.dataobjects { return result; } - public IEnumerable getPosts(Diapasone diapasone, UserContext context) { + public IEnumerable getPosts(Diapasone diapasone) { return Post.LoadByIds( from stringId in Config.instance.mainConnection.LoadIdsByConditions( Post.TableSpec.instance, diff --git a/IISMainHandler/handlers/ThreadHandler.cs b/IISMainHandler/handlers/ThreadHandler.cs index 6f2fda9..65d57ee 100644 --- a/IISMainHandler/handlers/ThreadHandler.cs +++ b/IISMainHandler/handlers/ThreadHandler.cs @@ -48,7 +48,7 @@ namespace FLocal.IISHandler.handlers { }, 2 ); - IEnumerable posts = thread.getPosts(pageOuter, context); + IEnumerable posts = thread.getPosts(pageOuter); int lastReadId = 0; if(context.session != null) {