diff --git a/lib/Alchemy/Phrasea/Border/Manager.php b/lib/Alchemy/Phrasea/Border/Manager.php index 69bb24b36a..7e2c2926d0 100644 --- a/lib/Alchemy/Phrasea/Border/Manager.php +++ b/lib/Alchemy/Phrasea/Border/Manager.php @@ -202,12 +202,13 @@ class Manager /** * Find an available Lazaret filename and creates the empty file. * - * @param string $filename The desired filename + * @param string $filename The desired filename + * @param string $suffix A suffix to the filename * @return string The available filename to use */ protected function bookLazaretPathfile($filename, $suffix = '') { - $output = __DIR__ . '/../../../../tmp/lazaret/lzrt_' . substr($filename, 0, 3) . '_' . $suffix . '.' .pathinfo($filename, PATHINFO_EXTENSION); + $output = __DIR__ . '/../../../../tmp/lazaret/lzrt_' . substr($filename, 0, 3) . '_' . $suffix . '.' . pathinfo($filename, PATHINFO_EXTENSION); $infos = pathinfo($output); $n = 0; while (true) { diff --git a/lib/Doctrine/Entities/LazaretFile.php b/lib/Doctrine/Entities/LazaretFile.php index a03cceb873..b80a7434b2 100644 --- a/lib/Doctrine/Entities/LazaretFile.php +++ b/lib/Doctrine/Entities/LazaretFile.php @@ -387,6 +387,4 @@ class LazaretFile { $this->thumbPathname = $thumbPathname; } - - } diff --git a/lib/classes/patch/370a7.class.php b/lib/classes/patch/370a7.class.php index 3c1b597436..f414efd783 100644 --- a/lib/classes/patch/370a7.class.php +++ b/lib/classes/patch/370a7.class.php @@ -104,7 +104,6 @@ class patch_370a7 implements patchInterface } - $media = $Core['mediavorus']->guess(new \SplFileInfo($filePath)); $collection = \collection::get_from_base_id($row['base_id']);