Merge pull request #76 from nlegoff/fix_dm_upload_Dev

fix upload to dailymotion throught phraseanet bridge
This commit is contained in:
Romain
2012-05-04 07:26:51 -07:00
2 changed files with 6 additions and 6 deletions

View File

@@ -379,11 +379,12 @@ class Bridge implements ControllerProviderInterface
$route->grep_records($account->get_api()->acceptable_records());
$params = array(
'route' => $route
, 'account' => $account
, 'error_message' => $app['request']->get('error')
, 'notice_message' => $app['request']->get('notice')
, 'adapter_action' => 'upload'
'route' => $route
, 'account' => $account
, 'error_message' => $app['request']->get('error')
, 'notice_message' => $app['request']->get('notice')
, 'constraint_errors' => null
, 'adapter_action' => 'upload'
);
$html = $twig->render(

View File

@@ -637,7 +637,6 @@ class Bridge_Api_Dailymotion extends Bridge_Api_Abstract implements Bridge_Api_I
/**
* @todo Retieve thumb
*/
return new Bridge_Api_Dailymotion_Container($entry, $object, '');
break;
default: