From d35f3ba994b837a474421730967b37a6d48b5db4 Mon Sep 17 00:00:00 2001 From: Laurent Laffont <llaffont@afi-sa.fr> Date: Wed, 28 Jun 2017 16:22:51 +0200 Subject: [PATCH] hotline#61844 revert matching movies --- .../Class/WebService/BibNumerique/ArteVOD/Film.php | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/library/Class/WebService/BibNumerique/ArteVOD/Film.php b/library/Class/WebService/BibNumerique/ArteVOD/Film.php index 260dc123a83..5094d91f734 100644 --- a/library/Class/WebService/BibNumerique/ArteVOD/Film.php +++ b/library/Class/WebService/BibNumerique/ArteVOD/Film.php @@ -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; -- GitLab