mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-15 22:13:13 +00:00
Coding standards
This commit is contained in:
@@ -130,17 +130,17 @@ class Bridge_Api_Dailymotion_Container implements Bridge_Api_ContainerInterface
|
||||
{
|
||||
return $this->url;
|
||||
}
|
||||
|
||||
|
||||
public function get_duration()
|
||||
{
|
||||
return '';
|
||||
}
|
||||
|
||||
|
||||
public function get_category()
|
||||
{
|
||||
return '';
|
||||
}
|
||||
|
||||
|
||||
public function is_private()
|
||||
{
|
||||
return null;
|
||||
|
@@ -377,6 +377,7 @@ class Bridge_Api_Flickr extends Bridge_Api_Abstract implements Bridge_Api_Interf
|
||||
if (!$response->isOk())
|
||||
{
|
||||
if ($response->err_code === 3) //Already exists in photoset
|
||||
|
||||
return;
|
||||
throw new Bridge_Exception_ApiConnectorRequestFailed();
|
||||
}
|
||||
@@ -663,12 +664,15 @@ class Bridge_Api_Flickr extends Bridge_Api_Abstract implements Bridge_Api_Interf
|
||||
{
|
||||
|
||||
if (!$this->registry->get('GV_flickr_api'))
|
||||
|
||||
return false;
|
||||
|
||||
if (trim($this->registry->get('GV_flickr_client_id')) === '')
|
||||
|
||||
return false;
|
||||
|
||||
if (trim($this->registry->get('GV_flickr_client_secret')) === '')
|
||||
|
||||
return false;
|
||||
|
||||
return true;
|
||||
|
@@ -138,17 +138,17 @@ class Bridge_Api_Flickr_Container implements Bridge_Api_ContainerInterface
|
||||
return $this->type;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public function get_duration()
|
||||
{
|
||||
return '';
|
||||
}
|
||||
|
||||
|
||||
public function get_category()
|
||||
{
|
||||
return '';
|
||||
}
|
||||
|
||||
|
||||
public function is_private()
|
||||
{
|
||||
return null;
|
||||
|
@@ -121,14 +121,14 @@ class Bridge_Api_Youtube_Container implements Bridge_Api_ContainerInterface
|
||||
{
|
||||
return '';
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public function get_category()
|
||||
{
|
||||
return '';
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public function is_private()
|
||||
{
|
||||
return null;
|
||||
|
Reference in New Issue
Block a user