From 8184e9e81791063b12681276d05660464be1fb2a Mon Sep 17 00:00:00 2001
From: "florian.azizian" <florian.azizian@maarch.org>
Date: Wed, 11 Apr 2018 17:10:18 +0100
Subject: [PATCH] FEAT ban address

---
 referential/ban/indexBan.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/referential/ban/indexBan.php b/referential/ban/indexBan.php
index 8c68f85f9dc..72b79119f3f 100644
--- a/referential/ban/indexBan.php
+++ b/referential/ban/indexBan.php
@@ -64,6 +64,7 @@ foreach ($filesBan as $fileBan) {
 }
 
 $index->commit();
+$index->optimize();
 
 /**
 * Check if a folder is empty
-- 
GitLab