summaryrefslogtreecommitdiff
path: root/src/frontend.erl
diff options
context:
space:
mode:
authorMagnus Ahltorp <map@kth.se>2015-09-24 16:38:03 +0200
committerLinus Nordberg <linus@nordu.net>2015-11-11 13:32:36 +0100
commit90760d10d14c11ee4c99826163c206bbf20a77f6 (patch)
tree5965c6bb108538507464d98595cc631dd9441aa7 /src/frontend.erl
parent346a3f973b828abc21cffb8a0a976daddcabe492 (diff)
Change perm interface to be add/commit based
Diffstat (limited to 'src/frontend.erl')
-rw-r--r--src/frontend.erl4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/frontend.erl b/src/frontend.erl
index 5b9157b..bce26b7 100644
--- a/src/frontend.erl
+++ b/src/frontend.erl
@@ -222,9 +222,7 @@ check_entries_onechunk(Start, End) ->
end, lists:zip(Entries, lists:seq(Start, End))),
case check_entries_int(Entries, Start, End) of
[] ->
- lists:foreach(fun ({Hash, Index}) ->
- ok = db:indexforhash_sync(Hash, Index)
- end, lists:zip(Entries, lists:seq(Start, End))),
+ ok = db:indexforhash_dosync(),
case Entries of
[] ->
none;