summaryrefslogtreecommitdiffstats
path: root/bin/kolab_smtp_access_policy.py
diff options
context:
space:
mode:
Diffstat (limited to 'bin/kolab_smtp_access_policy.py')
-rwxr-xr-xbin/kolab_smtp_access_policy.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/kolab_smtp_access_policy.py b/bin/kolab_smtp_access_policy.py
index 6e904eb..4b3d89b 100755
--- a/bin/kolab_smtp_access_policy.py
+++ b/bin/kolab_smtp_access_policy.py
@@ -1158,6 +1158,7 @@ def cache_cleanup():
).filter(
PolicyResult.created < ((int)(time.time()) - cache_expire)
).delete()
+ session.commit()
def cache_init():
global cache, cache_expire, session