From eda54b6051020c6ab1812b6676338a6bad7f467d Mon Sep 17 00:00:00 2001 From: Adam Kocoloski Date: Tue, 15 Jun 2010 14:52:28 -0400 Subject: remove leftover code from reduce_view --- src/fabric_rpc.erl | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/fabric_rpc.erl') diff --git a/src/fabric_rpc.erl b/src/fabric_rpc.erl index c9bfb7d2..e9d9eb20 100644 --- a/src/fabric_rpc.erl +++ b/src/fabric_rpc.erl @@ -115,7 +115,6 @@ reduce_view(DbName, Group0, ViewName, QueryArgs) -> limit = Limit, skip = Skip, keys = Keys, - direction = Dir, stale = Stale } = QueryArgs, GroupFun = group_rows_fun(GroupLevel), @@ -126,7 +125,6 @@ reduce_view(DbName, Group0, ViewName, QueryArgs) -> {NthRed, View} = fabric_view:extract_view(Pid, ViewName, Views, reduce), ReduceView = {reduce, NthRed, Lang, View}, Acc0 = #view_acc{group_level = GroupLevel, limit = Limit+Skip}, - Options0 = [{key_group_fun, GroupFun}, {dir, Dir}], case Keys of nil -> Options0 = couch_httpd_view:make_key_options(QueryArgs), -- cgit v1.2.3