mark retweet api actions read-only where applicable

This commit is contained in:
Evan Prodromou 2010-01-20 17:00:42 -05:00
parent 10f21e1f41
commit 9e3013c6b6
3 changed files with 45 additions and 0 deletions

View File

@ -113,4 +113,19 @@ class ApiStatusesRetweetsAction 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 false;
}
}

View File

@ -123,4 +123,19 @@ class ApiTimelineRetweetedByMeAction 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 false;
}
}

View File

@ -122,4 +122,19 @@ class ApiTimelineRetweetedToMeAction 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 false;
}
}