Fix SQL syntax error when purging cache for a folder

This commit is contained in:
Thomas Bruederli 2013-11-04 11:50:06 +01:00
parent fce62f6df5
commit 1f8e7cc478

View file

@ -365,7 +365,7 @@ class kolab_storage_cache
$this->_read_folder_data();
$result = $this->db->query(
"DELETE FROM $this->cache_table WHERE folder_id=?".
"DELETE FROM $this->cache_table WHERE folder_id=?",
$this->folder_id
);
return $this->db->affected_rows($result);