]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/nudge.php
Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x
[quix0rs-gnu-social.git] / actions / nudge.php
index ca6fd376123feb36e7cfc89eb2d94eaaecf504bc..bc3d484788c433d951f85fb24f18079d4e966d8d 100644 (file)
@@ -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;
+    }
 }