Thread.getPosts no longer takes UserContext as an argument

main
Inga 🏳‍🌈 15 years ago
parent 6cd2b3e5e0
commit 845dff341d
  1. 2
      Common/dataobjects/Thread.cs
  2. 2
      IISMainHandler/handlers/ThreadHandler.cs

@ -235,7 +235,7 @@ namespace FLocal.Common.dataobjects {
return result;
}
public IEnumerable<Post> getPosts(Diapasone diapasone, UserContext context) {
public IEnumerable<Post> getPosts(Diapasone diapasone) {
return Post.LoadByIds(
from stringId in Config.instance.mainConnection.LoadIdsByConditions(
Post.TableSpec.instance,

@ -48,7 +48,7 @@ namespace FLocal.IISHandler.handlers {
},
2
);
IEnumerable<Post> posts = thread.getPosts(pageOuter, context);
IEnumerable<Post> posts = thread.getPosts(pageOuter);
int lastReadId = 0;
if(context.session != null) {

Loading…
Cancel
Save