mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-15 14:03:27 +00:00
Merge pull request #76 from nlegoff/fix_dm_upload_Dev
fix upload to dailymotion throught phraseanet bridge
This commit is contained in:
@@ -379,11 +379,12 @@ class Bridge implements ControllerProviderInterface
|
|||||||
$route->grep_records($account->get_api()->acceptable_records());
|
$route->grep_records($account->get_api()->acceptable_records());
|
||||||
|
|
||||||
$params = array(
|
$params = array(
|
||||||
'route' => $route
|
'route' => $route
|
||||||
, 'account' => $account
|
, 'account' => $account
|
||||||
, 'error_message' => $app['request']->get('error')
|
, 'error_message' => $app['request']->get('error')
|
||||||
, 'notice_message' => $app['request']->get('notice')
|
, 'notice_message' => $app['request']->get('notice')
|
||||||
, 'adapter_action' => 'upload'
|
, 'constraint_errors' => null
|
||||||
|
, 'adapter_action' => 'upload'
|
||||||
);
|
);
|
||||||
|
|
||||||
$html = $twig->render(
|
$html = $twig->render(
|
||||||
|
@@ -637,7 +637,6 @@ class Bridge_Api_Dailymotion extends Bridge_Api_Abstract implements Bridge_Api_I
|
|||||||
/**
|
/**
|
||||||
* @todo Retieve thumb
|
* @todo Retieve thumb
|
||||||
*/
|
*/
|
||||||
|
|
||||||
return new Bridge_Api_Dailymotion_Container($entry, $object, '');
|
return new Bridge_Api_Dailymotion_Container($entry, $object, '');
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
Reference in New Issue
Block a user