From fbcf1254186fb81b4ed1230d0a2722d1fc9d6f89 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Tue, 26 Jun 2012 15:27:26 +0200 Subject: [PATCH] Reset 'synclock' flag in _sync_unlock(), so the query isn't executed in shutdown function when not needed --- plugins/libkolab/lib/kolab_storage_cache.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/libkolab/lib/kolab_storage_cache.php b/plugins/libkolab/lib/kolab_storage_cache.php index 004776e0..31590abc 100644 --- a/plugins/libkolab/lib/kolab_storage_cache.php +++ b/plugins/libkolab/lib/kolab_storage_cache.php @@ -680,6 +680,8 @@ class kolab_storage_cache $this->resource_uri, 'lock' ); + + $this->synclock = false; } /**