X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fnudge.php;h=bc3d484788c433d951f85fb24f18079d4e966d8d;hb=da532bae9131b6dec8f5c0d67ce77c4ad1736f7d;hp=ca6fd376123feb36e7cfc89eb2d94eaaecf504bc;hpb=a330bdac62ddbc15232bc65d65e869b224880e3f;p=quix0rs-gnu-social.git diff --git a/actions/nudge.php b/actions/nudge.php index ca6fd37612..bc3d484788 100644 --- a/actions/nudge.php +++ b/actions/nudge.php @@ -89,7 +89,7 @@ class NudgeAction extends Action $this->notify($user, $other); if ($this->boolean('ajax')) { - $this->startHTML('text/xml;charset=utf-8', true); + $this->startHTML('text/xml;charset=utf-8'); $this->elementStart('head'); $this->element('title', null, _('Nudge sent')); $this->elementEnd('head'); @@ -122,5 +122,10 @@ class NudgeAction extends Action // XXX: notify by SMS } } + + function isReadOnly() + { + return true; + } }