]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/apistatusesretweet.php
Undefined Variable in foafgroup.php
[quix0rs-gnu-social.git] / actions / apistatusesretweet.php
index 85de79d5c82ad9ae04473fd1d0653506314c46b3..128c881e25aef3979e1f253f1f141f4ac46a07ce 100644 (file)
@@ -80,7 +80,7 @@ class ApiStatusesRetweetAction extends ApiAuthAction
         $this->user = $this->auth_user;
 
         if ($this->user->id == $notice->profile_id) {
-            $this->clientError(_('Cannot repeat your own notice.'));
+            $this->clientError(_('Cannot repeat your own notice.'),
                                400, $this->format);
             return false;
         }
@@ -112,7 +112,7 @@ class ApiStatusesRetweetAction extends ApiAuthAction
 
         $repeat = $this->original->repeat($this->user->id, $this->source);
 
-        common_broadcast_notice($repeat);
+
 
         $this->showNotice($repeat);
     }