From bfc0a83dfe664708ccb0fce148ef896c8447c8d0 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Wed, 1 Sep 2010 00:06:13 -0600 Subject: [PATCH] Move this to where we actually use it --- imp/message.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/imp/message.php b/imp/message.php index eba265962..464d9b3ba 100644 --- a/imp/message.php +++ b/imp/message.php @@ -171,9 +171,6 @@ case 'strip_attachment': break; } -/* Token to use in requests */ -$message_token = Horde::getRequestToken('imp.message'); - /* We may have done processing that has taken us past the end of the * message array, so we will return to mailbox.php if that is the * case. */ @@ -226,6 +223,7 @@ $page_label = IMP::getLabel(IMP::$mailbox); /* Generate the link to ourselves. */ $msgindex = $imp_mailbox->getMessageIndex(); $message_url = Horde::applicationUrl('message.php'); +$message_token = Horde::getRequestToken('imp.message'); $self_link = IMP::generateIMPUrl('message.php', IMP::$mailbox, $uid, $mailbox_name)->add(array('start' => $msgindex, 'message_token' => $message_token)); /* Develop the list of headers to display. */ -- 2.11.0