Skip to content
Snippets Groups Projects
Commit 04642962 authored by Henri-Damien LAURENT's avatar Henri-Damien LAURENT
Browse files

dev#163369 : cas particulier de la notice 435 Skilleos

parent 0114a8f0
No related merge requests found
Pipeline #22516 passed with stage
in 21 minutes and 6 seconds
This commit is part of merge request !4710. Comments created here will be created in the context of that merge request.
......@@ -142,7 +142,6 @@ class NewCvs_Harvester {
protected function _work() {
$this->_log($this->_('Début du moissonnage depuis %s.'));
$this->_ws->setLogger($this->getLogger());
if (!$this->getFileSystem()->fileExists(USERFILESPATH.'/'.$this->_xml_directory_name))
$this->getFileSystem()->mkdir(USERFILESPATH.'/'.$this->_xml_directory_name);
......
......@@ -101,7 +101,8 @@ class NewCvs_Service_Parser_Catalogue extends NewCvs_Service_Parser_Abstract {
public function endAlbumname(string $data) :self {
(isset($this->current_ressource)
&& ($this->current_ressource->getProvenance()== 'assimil')
&& (in_array($this->current_ressource->getProvenance(),
['assimil','skilleos']))
)
? $this->current_ressource->setTitle((string) $data)
: $this->current_ressource->addCollection((string)$data);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment