mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
Refactor basket_adapter
This commit is contained in:
@@ -45,9 +45,9 @@ class Bridge implements ControllerProviderInterface
|
||||
};
|
||||
|
||||
if (!$account->get_api()->get_connector()->is_configured())
|
||||
throw new \Bridge_Exception_ApiConnectorNotConfigured();
|
||||
throw new \Bridge_Exception_ApiConnectorNotConfigured("Bridge API Connector is not configured");
|
||||
if (!$account->get_api()->get_connector()->is_connected())
|
||||
throw new \Bridge_Exception_ApiConnectorNotConnected ();
|
||||
throw new \Bridge_Exception_ApiConnectorNotConnected ("Bridge API Connector is not connected");
|
||||
|
||||
return;
|
||||
});
|
||||
|
Reference in New Issue
Block a user