fix typo & add doc blocks

This commit is contained in:
Nicolas Le Goff
2012-07-03 14:47:19 +02:00
parent 3619c8a1b9
commit fd7454a346
3 changed files with 3 additions and 5 deletions

View File

@@ -203,11 +203,12 @@ class Manager
* Find an available Lazaret filename and creates the empty file.
*
* @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) {

View File

@@ -387,6 +387,4 @@ class LazaretFile
{
$this->thumbPathname = $thumbPathname;
}
}

View File

@@ -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']);