]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/apistatusesshow.php
Require Profile for Profile->getLists
[quix0rs-gnu-social.git] / actions / apistatusesshow.php
index 8b9cc347797bdfeb4b7bbff62def398e354edd2c..70b9a9c27a49427fc3ab6eed4ed5cea7bb92c9d5 100644 (file)
@@ -236,7 +236,7 @@ class ApiStatusesShowAction extends ApiPrivateAuthAction
         }
 
         if (Event::handle('StartDeleteOwnNotice', array($this->auth_user, $this->notice))) {
-            $this->notice->delete();
+            $this->notice->deleteAs($this->scoped);
             Event::handle('EndDeleteOwnNotice', array($this->auth_user, $this->notice));
         }