From: Michael M Slusarz Date: Wed, 1 Sep 2010 06:06:13 +0000 (-0600) Subject: Move this to where we actually use it X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=bfc0a83dfe664708ccb0fce148ef896c8447c8d0;p=horde.git Move this to where we actually use it --- 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. */