mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-13 21:13:26 +00:00
Merge pull request #1484 from jygaulier/PHRAS-683_statusbit-creation
PHRAS-683
This commit is contained in:
@@ -60,7 +60,8 @@ class CacheStatusStructureProvider implements StatusStructureProviderInterface
|
|||||||
|
|
||||||
$this->provider->updateStatus($structure, $bit, $properties);
|
$this->provider->updateStatus($structure, $bit, $properties);
|
||||||
|
|
||||||
$this->cache->save($this->get_cache_key($databox->get_sbas_id()), json_encode($structure->toArray()));
|
// note : cache->save(...) should be ok but it crashes some callers, ex. adding a sb (?)
|
||||||
|
$this->cache->delete($this->get_cache_key($databox->get_sbas_id()));
|
||||||
|
|
||||||
return $structure;
|
return $structure;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user