parent::prepare($args);
$token = $this->trimmed('token');
if (!$token || $token != common_session_token()) {
+ // TRANS: Client error displayed when the session token does not match or is not given.
$this->clientError(_('There was a problem with your session token. '.
'Try again, please.'));
}
*
* @return nothing
*
- **/
+ */
function handle($args)
{
header('Content-Type: application/json; charset=utf-8');
*
* @return boolean true
*/
-
function isReadOnly($args)
{
return true;