Update to latest media alchemyst api

This commit is contained in:
Romain Neutron
2013-06-26 17:59:23 +02:00
parent 4b06608caa
commit f95bd97fc3
7 changed files with 14 additions and 37 deletions

View File

@@ -99,10 +99,7 @@ class patch_370a7 implements patchInterface
$thumbPath = $app['root.path'] . '/tmp/lazaret/' . sprintf("thumb_%s", $row['filepath']);
try {
$app['media-alchemyst']
->open($filePath)
->turnInto($thumbPath, $spec)
->close();
$app['media-alchemyst']->turnInto($filePath, $thumbPath, $spec);
} catch (MediaAlchemystException $e) {
}