Branch 'dev/kolab-cache-refactoring' - plugins/libkolab
Aleksander Machniak
machniak at kolabsys.com
Tue Oct 8 13:38:08 CEST 2013
plugins/libkolab/lib/kolab_storage_cache.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit d67a7f0d76ae432f6c05d3c071210ae7b457a1c7
Author: Aleksander Machniak <machniak at kolabsys.com>
Date: Tue Oct 8 13:37:49 2013 +0200
Fix reference to kolab_cache table in count() method
diff --git a/plugins/libkolab/lib/kolab_storage_cache.php b/plugins/libkolab/lib/kolab_storage_cache.php
index 97b6463..8e4e19c 100644
--- a/plugins/libkolab/lib/kolab_storage_cache.php
+++ b/plugins/libkolab/lib/kolab_storage_cache.php
@@ -468,7 +468,7 @@ class kolab_storage_cache
$this->_read_folder_data();
$sql_result = $this->db->query(
- "SELECT COUNT(*) AS numrows FROM kolab_cache ".
+ "SELECT COUNT(*) AS numrows FROM $this->cache_table ".
"WHERE folder_id=? " . $this->_sql_where($query),
$this->folder_id
);
More information about the commits
mailing list