Replace calls to mediavorus to getMediaFromUri

This commit is contained in:
Benoît Burnichon
2015-05-12 18:12:02 +02:00
parent 81e8fcb606
commit 61206fd517
15 changed files with 40 additions and 41 deletions

View File

@@ -61,7 +61,7 @@ class recordutils_image
$rotation = null;
try {
$image = $app['mediavorus']->guess($subdef->get_pathfile());
$image = $app->getMediaFromUri($subdef->get_pathfile());
if (MediaInterface::TYPE_IMAGE === $image->getType()) {
$rotation = $image->getOrientation();
}