retweet API methods are readonly

This commit is contained in:
Evan Prodromou 2010-01-21 11:32:01 -05:00
parent 4175ec7c6e
commit e5eb95ab59
4 changed files with 18 additions and 3 deletions

View File

@ -126,6 +126,6 @@ class ApiStatusesRetweetsAction extends ApiAuthAction
function isReadOnly($args) function isReadOnly($args)
{ {
return false; return true;
} }
} }

View File

@ -136,6 +136,6 @@ class ApiTimelineRetweetedByMeAction extends ApiAuthAction
function isReadOnly($args) function isReadOnly($args)
{ {
return false; return true;
} }
} }

View File

@ -135,6 +135,6 @@ class ApiTimelineRetweetedToMeAction extends ApiAuthAction
function isReadOnly($args) function isReadOnly($args)
{ {
return false; return true;
} }
} }

View File

@ -123,4 +123,19 @@ class ApiTimelineRetweetsOfMeAction extends ApiAuthAction
break; break;
} }
} }
/**
* Return true if read only.
*
* MAY override
*
* @param array $args other arguments
*
* @return boolean is read only action?
*/
function isReadOnly($args)
{
return true;
}
} }