From 845dff341deee0fb315b19161ec277b79db7fe7f Mon Sep 17 00:00:00 2001 From: inga-lovinde <52715130+inga-lovinde@users.noreply.github.com> Date: Fri, 2 Jul 2010 11:46:07 +0000 Subject: [PATCH] Thread.getPosts no longer takes UserContext as an argument --- Common/dataobjects/Thread.cs | 2 +- IISMainHandler/handlers/ThreadHandler.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) {