PHRAS-3704 Phrasea Rendition by Phraseanet worker (#4098)

* add verify ssl

* add info in webhook payload on subdef create

* reset cache of list of subdef for a record when create new subdef
This commit is contained in:
Aina Sitraka
2022-07-19 11:43:15 +03:00
committed by GitHub
parent 589a1a53c0
commit f736eddc0f
23 changed files with 524 additions and 323 deletions

View File

@@ -684,6 +684,9 @@ class media_subdef extends media_abstract implements cache_cacheableInterface
$symlinker->symlink($subdef->getRealPath());
}
// delete from cache the list of available subdef for the record to taken account the new subdef
$subdef->get_record()->delete_data_from_cache(record_adapter::CACHE_SUBDEFS);
return $subdef;
}