summaryrefslogtreecommitdiff
path: root/src/frontend.erl
diff options
context:
space:
mode:
authorMagnus Ahltorp <map@kth.se>2015-09-24 16:38:03 +0200
committerMagnus Ahltorp <map@kth.se>2015-09-24 16:38:03 +0200
commit47739f3a75b247db446eb863ab6d83d6ca461634 (patch)
tree36a07c625e37107ca2f35200ccc444cb6e210a0a /src/frontend.erl
parentcdd2d16b4acd17ab74cd0610857d07a547f052ab (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;