retweet API methods are readonly
This commit is contained in:
parent
4175ec7c6e
commit
e5eb95ab59
@ -126,6 +126,6 @@ class ApiStatusesRetweetsAction extends ApiAuthAction
|
||||
|
||||
function isReadOnly($args)
|
||||
{
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
@ -136,6 +136,6 @@ class ApiTimelineRetweetedByMeAction extends ApiAuthAction
|
||||
|
||||
function isReadOnly($args)
|
||||
{
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
@ -135,6 +135,6 @@ class ApiTimelineRetweetedToMeAction extends ApiAuthAction
|
||||
|
||||
function isReadOnly($args)
|
||||
{
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
@ -123,4 +123,19 @@ class ApiTimelineRetweetsOfMeAction extends ApiAuthAction
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Return true if read only.
|
||||
*
|
||||
* MAY override
|
||||
*
|
||||
* @param array $args other arguments
|
||||
*
|
||||
* @return boolean is read only action?
|
||||
*/
|
||||
|
||||
function isReadOnly($args)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user