We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 9e3013c6 authored by Evan Prodromou's avatar Evan Prodromou

mark retweet api actions read-only where applicable

parent 10f21e1f
...@@ -113,4 +113,19 @@ class ApiStatusesRetweetsAction extends ApiAuthAction ...@@ -113,4 +113,19 @@ class ApiStatusesRetweetsAction 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 false;
}
} }
...@@ -123,4 +123,19 @@ class ApiTimelineRetweetedByMeAction extends ApiAuthAction ...@@ -123,4 +123,19 @@ class ApiTimelineRetweetedByMeAction 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 false;
}
} }
...@@ -122,4 +122,19 @@ class ApiTimelineRetweetedToMeAction extends ApiAuthAction ...@@ -122,4 +122,19 @@ class ApiTimelineRetweetedToMeAction 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 false;
}
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment