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

@@ -449,10 +449,7 @@ class databox_status
$destPath = sprintf("%s%s", $custom_path, basename($path . $name));
try {
$app['media-alchemyst']
->open($filePath)
->turninto($destPath, $imageSpec)
->close();
$app['media-alchemyst']->turninto($filePath, $destPath, $imageSpec);
} catch (\MediaAlchemyst\Exception $e) {
}