mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 23:13:15 +00:00
PHRAS-1158_STAMP-CHANGE-COLL
change : stamp reset moved to event subscriber
This commit is contained in:
@@ -477,7 +477,7 @@ class record_adapter implements RecordInterface, cache_cacheableInterface
|
||||
|
||||
// remove stamp BEFORE changing collection since it uses the collection id :(
|
||||
// todo : change clearStampCache() to be agnostic of collection
|
||||
$this->clearStampCache();
|
||||
// $this->clearStampCache();
|
||||
|
||||
$sql = "UPDATE record SET moddate = NOW(), coll_id = :coll_id WHERE record_id =:record_id";
|
||||
|
||||
@@ -997,7 +997,7 @@ class record_adapter implements RecordInterface, cache_cacheableInterface
|
||||
$this->set_metadata($param, $this->getDatabox());
|
||||
}
|
||||
|
||||
$this->clearStampCache();
|
||||
// $this->clearStampCache();
|
||||
|
||||
$xml = new DOMDocument();
|
||||
$xml->loadXML($this->app['serializer.caption']->serialize($this->get_caption(), CaptionSerializer::SERIALIZE_XML, true));
|
||||
|
Reference in New Issue
Block a user