Update Border File API

This commit is contained in:
Romain Neutron
2012-09-28 19:12:28 +02:00
parent f66cc5eb04
commit ad11bd0f51
24 changed files with 70 additions and 68 deletions

View File

@@ -1688,7 +1688,7 @@ class task_period_archive extends task_abstract
$metadatas = $this->mergeForDatabox($metadatasStructure, $metadatas, $caption);
}
$file = new \Alchemy\Phrasea\Border\File($media, $collection);
$file = new \Alchemy\Phrasea\Border\File($this->dependencyContainer, $media, $collection);
$file->addAttribute(new BorderAttribute\Status($this->dependencyContainer, $status));