diff options
author | Adam Kocoloski <adam@cloudant.com> | 2010-06-15 14:52:28 -0400 |
---|---|---|
committer | Adam Kocoloski <adam@cloudant.com> | 2010-06-15 14:52:28 -0400 |
commit | eda54b6051020c6ab1812b6676338a6bad7f467d (patch) | |
tree | c6c9400654db813791a73bad3e3d4f59954971ce | |
parent | 340f2240aa05f1d198610649a599210c87450863 (diff) |
remove leftover code from reduce_view
-rw-r--r-- | src/fabric_rpc.erl | 2 |
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), |