summaryrefslogtreecommitdiff
path: root/src/fabric_rpc.erl
diff options
context:
space:
mode:
authorAdam Kocoloski <adam@cloudant.com>2010-06-15 14:52:28 -0400
committerAdam Kocoloski <adam@cloudant.com>2010-06-15 14:52:28 -0400
commiteda54b6051020c6ab1812b6676338a6bad7f467d (patch)
treec6c9400654db813791a73bad3e3d4f59954971ce /src/fabric_rpc.erl
parent340f2240aa05f1d198610649a599210c87450863 (diff)
remove leftover code from reduce_view
Diffstat (limited to 'src/fabric_rpc.erl')
-rw-r--r--src/fabric_rpc.erl2
1 files changed, 0 insertions, 2 deletions
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),