return $this->_permsCache[$name];
}
- $perm = $this->_cache->get('perm_sql' . $this->_cacheVersion . $name, $GLOBALS['conf']['cache']['default_lifetime']);
+ $perm = $this->_cache->get('perm_sql_' . $this->_cacheVersion . $name, $GLOBALS['conf']['cache']['default_lifetime']);
if (empty($perm)) {
$query = 'SELECT perm_id, perm_data FROM ' .
$this->_params['table'] . ' WHERE perm_name = ?';
$object->setId($result['perm_id']);
$object->setData(unserialize($result['perm_data']));
- $this->_cache->set('perm_sql' . $this->_cacheVersion . $name, serialize($object));
+ $this->_cache->set('perm_sql_' . $this->_cacheVersion . $name, serialize($object));
$this->_permsCache[$name] = $object;
} else {
throw new Horde_Perms_Exception('Permission name must be non-empty.');
}
- $this->_cache->expire('perm_sql' . $this->_cacheVersion . $name);
+ $this->_cache->expire('perm_sql_' . $this->_cacheVersion . $name);
$this->_cache->expire('perm_sql_exists_' . $this->_cacheVersion . $name);
// remove root from the name
$force = false)
{
$name = $perm->getName();
- $this->_cache->expire('perm_sql' . $this->_cacheVersion . $name);
+ $this->_cache->expire('perm_sql_' . $this->_cacheVersion . $name);
$this->_cache->expire('perm_sql_exists_' . $this->_cacheVersion . $name);
$query = 'DELETE FROM ' . $this->_params['table'] .
-----------
-v3.3.11-cvs
+v3.3.12-cvs
-----------
+[jan] Fix invalidating permission cache in SQL driver (Bug #9392).
+
+
+-------
+v3.3.11
+-------
+
[mms] SECURITY: Fix XSS when viewing details of a vCard.
[jan] Fix exporting recurrence exceptions to vCalendar 1.0.
[jan] Skip event status synchronization with Outlook, which is broken.