$this->page = 1;
$id = $this->trimmed('message');
- $this->message = Message::staticGet('id', $id);
+ $this->message = Message::getKV('id', $id);
if (!$this->message) {
// TRANS: Client error displayed requesting a single message that does not exist.
$this->clientError(_('No such message.'), 404);
- return false;
}
$this->user = common_current_user();