exit(1);
}
-require_once INSTALLDIR . '/lib/apiauth.php';
-
/**
* Deletes one of the authenticating user's statuses (notices).
*
if ($this->user->id == $this->notice->profile_id) {
if (Event::handle('StartDeleteOwnNotice', array($this->user, $this->notice))) {
- $this->notice->delete();
+ $this->notice->deleteAs($this->scoped);
Event::handle('EndDeleteOwnNotice', array($this->user, $this->notice));
}
$this->showNotice();