diff options
author | Adam Kocoloski <adam@cloudant.com> | 2010-09-03 12:45:17 -0400 |
---|---|---|
committer | Adam Kocoloski <adam@cloudant.com> | 2010-09-03 12:48:41 -0400 |
commit | bcd9ed8f2397a5c238b0640aab3ceb9841d96794 (patch) | |
tree | 6a263c5b50369a980d9e8e92a5af3b5876410fae /apps/fabric/src/fabric.erl | |
parent | 5a77f1120c80b62e3c1534eeaad53fb2dbf77b7b (diff) |
support for _view_cleanup via HTTP
Diffstat (limited to 'apps/fabric/src/fabric.erl')
-rw-r--r-- | apps/fabric/src/fabric.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/fabric/src/fabric.erl b/apps/fabric/src/fabric.erl index d620b985..9f9db032 100644 --- a/apps/fabric/src/fabric.erl +++ b/apps/fabric/src/fabric.erl @@ -189,7 +189,8 @@ cleanup_index_files(DbName) -> re:run(FilePath, RegExp, [{capture, none}]) == nomatch end, FileList) end, - [file:delete(File) || File <- DeleteFiles]. + [file:delete(File) || File <- DeleteFiles], + ok. %% some simple type validation and transcoding |