This commit is contained in:
Romain Neutron
2013-10-30 19:35:23 +01:00
parent 36f7b24f26
commit 9b471fdf76
129 changed files with 473 additions and 477 deletions

View File

@@ -20,7 +20,7 @@
* @license http://opensource.org/licenses/gpl-3.0 GPLv3 * @license http://opensource.org/licenses/gpl-3.0 GPLv3
* @link www.phraseanet.com * @link www.phraseanet.com
*/ */
class API_OAuth2_Exception_Redirect_Unauthorized extends API_OAuth2_Exception_Redirect class API_OAuth2_Exception_Redirect_TemporaryUnavailable extends API_OAuth2_Exception_Redirect
{ {
/** /**
* *
@@ -39,7 +39,7 @@ class API_OAuth2_Exception_Redirect_Unauthorized extends API_OAuth2_Exception_Re
* @param string $redirect_uri * @param string $redirect_uri
* @param string $state * @param string $state
* @param string $error_uri * @param string $error_uri
* @return API_OAuth2_Exception_Redirect_Unauthorized * @return API_OAuth2_Exception_Redirect_TemporaryUnavailable
*/ */
public function __construct($redirect_uri, $state = null, $error_uri = null) public function __construct($redirect_uri, $state = null, $error_uri = null)
{ {

View File

@@ -370,7 +370,7 @@ class Bridge_Api_Dailymotion extends Bridge_Api_Abstract implements Bridge_Api_I
); );
if ( ! $this->is_valid_object_id($object_id)) if ( ! $this->is_valid_object_id($object_id))
throw new Bridge_Exception_InvalidObjectId($object_id); throw new Bridge_Exception_ActionInvalidObjectId($object_id);
switch ($object) { switch ($object) {
case self::ELEMENT_TYPE_VIDEO : case self::ELEMENT_TYPE_VIDEO :

View File

@@ -304,7 +304,7 @@ class Bridge_Api_Youtube extends Bridge_Api_Abstract implements Bridge_Api_Inter
} }
if ( ! $this->is_valid_object_id($object_id)) if ( ! $this->is_valid_object_id($object_id))
throw new Bridge_Exception_InvalidObjectId($object_id); throw new Bridge_Exception_ActionInvalidObjectId($object_id);
switch ($object) { switch ($object) {
case "video" : case "video" :

View File

@@ -15,7 +15,7 @@
* @license http://opensource.org/licenses/gpl-3.0 GPLv3 * @license http://opensource.org/licenses/gpl-3.0 GPLv3
* @link www.phraseanet.com * @link www.phraseanet.com
*/ */
class Bridge_Exception_InvalidObjectId extends Bridge_Exception class Bridge_Exception_ActionInvalidObjectId extends Bridge_Exception
{ {
} }

View File

@@ -10,7 +10,6 @@
*/ */
use Alchemy\Phrasea\Application; use Alchemy\Phrasea\Application;
use Symfony\Component\Process\ExecutableFinder;
class patch_3819 implements patchInterface class patch_3819 implements patchInterface
{ {

View File

@@ -10,7 +10,6 @@
*/ */
use Alchemy\Phrasea\Application; use Alchemy\Phrasea\Application;
use Symfony\Component\Process\ExecutableFinder;
class patch_3820 implements patchInterface class patch_3820 implements patchInterface
{ {

View File

@@ -1,7 +1,5 @@
<?php <?php
use Alchemy\Phrasea\Border\File;
class Feed_Entry_ItemTest extends PhraseanetPHPUnitAuthenticatedAbstract class Feed_Entry_ItemTest extends PhraseanetPHPUnitAuthenticatedAbstract
{ {
/** /**