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

Commit e5eb95ab authored by Evan Prodromou's avatar Evan Prodromou

retweet API methods are readonly

parent 4175ec7c
......@@ -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;
}
}
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