Merge pull request #1484 from jygaulier/PHRAS-683_statusbit-creation

PHRAS-683
This commit is contained in:
Benoît Burnichon
2015-08-31 11:34:16 +02:00

View File

@@ -60,7 +60,8 @@ class CacheStatusStructureProvider implements StatusStructureProviderInterface
$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;
}