import v1.1.0_RC2 | 2009-09-20

This commit is contained in:
2019-07-17 22:19:00 +02:00
parent 3b7ba80568
commit 38c146901c
2504 changed files with 101817 additions and 62316 deletions

View File

@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage Twitter
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: $
* @version $Id: Twitter.php 16971 2009-07-22 18:05:45Z mikaelkael $
*/
@ -35,7 +35,7 @@ require_once 'Zend/Rest/Client/Result.php';
* @category Zend
* @package Zend_Service
* @subpackage Twitter
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Service_Twitter extends Zend_Rest_Client
@ -431,7 +431,7 @@ class Zend_Service_Twitter extends Zend_Rest_Client
public function statusDestroy($id)
{
$this->_init();
$path = '/statuses/destroy/' . (int) $id . '.xml';
$path = '/statuses/destroy/' . $id . '.xml';
$response = $this->restPost($path);
return new Zend_Rest_Client_Result($response->getBody());
@ -757,7 +757,7 @@ class Zend_Service_Twitter extends Zend_Rest_Client
public function favoriteCreate($id)
{
$this->_init();
$path = '/favorites/create/' . (int) $id . '.xml';
$path = '/favorites/create/' . $id . '.xml';
$response = $this->restPost($path);
return new Zend_Rest_Client_Result($response->getBody());
@ -772,7 +772,7 @@ class Zend_Service_Twitter extends Zend_Rest_Client
public function favoriteDestroy($id)
{
$this->_init();
$path = '/favorites/destroy/' . (int) $id . '.xml';
$path = '/favorites/destroy/' . $id . '.xml';
$response = $this->restPost($path);
return new Zend_Rest_Client_Result($response->getBody());