Skip to content
Snippets Groups Projects
Commit d35f3ba9 authored by Laurent's avatar Laurent
Browse files

hotline#61844 revert matching movies

parent d956df31
Branches
Tags
3 merge requests!2334Master,!2241Stable,!2235Hotline#61844 encore des problemes sur la vod
Pipeline #1890 passed with stage
in 11 minutes and 28 seconds
......@@ -50,19 +50,6 @@ class Class_WebService_BibNumerique_ArteVOD_Film extends Class_WebService_BibNu
->addDuration($json['duration']);
}
public function findAlbumInDB() {
if ($album = parent::findAlbumInDB())
return $album;
$albums = Class_Album::findAllBy(['url_origine' => $this->getBaseUrl(),
'titre' => $this->getTitle()]);
if (empty($albums))
return [];
if (count($albums)==1)
return current($albums);
}
protected function setDirectors($directors) {
$this->_directors = $directors;
......
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