From ffeeec392e2bf2f53b2dea39dc8563a4cd6a084e Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Wed, 24 Sep 2008 16:22:11 -0400 Subject: [PATCH] change handle() to use message-getting helper darcs-hash:20080924202211-5ed1f-a39e520b113a843bee6dd9e2e56c1a7afb2bb896.gz --- actions/showmessage.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/actions/showmessage.php b/actions/showmessage.php index 28e3594506..c171ffe0b5 100644 --- a/actions/showmessage.php +++ b/actions/showmessage.php @@ -27,9 +27,7 @@ class ShowmessageAction extends MailboxAction { Action::handle($args); - $id = $this->trimmed('message'); - - $message = Message::staticGet('message', $id); + $message = $this->get_message(); if (!$message) { $this->client_error(_('No such message.'), 404); -- 2.39.5