freebsd-ports/mail/squirrelmail/files/patch-plugins-message_details-message_details_bottom.php
Adam Weinberger 367c9fdbd1 Use the php54-safe sqsession_unregister() instead of the deprecated
and removed session_unregister(). This is solely a php-5.4 fix.

PORTREVISION bump, but since this port does not officially support
php-5.4 I have no plans to merge this patch to RELENG_9_1_0.

Feature safe:	yes
2012-11-16 21:24:54 +00:00

11 lines
393 B
PHP

--- plugins/message_details/message_details_bottom.php.orig 2012-11-16 16:16:25.000000000 -0500
+++ plugins/message_details/message_details_bottom.php 2012-11-16 16:16:49.000000000 -0500
@@ -85,7 +85,7 @@
$messageheaderstart=false;
$boundaries = array();
$entities = array();
-session_unregister("entities");
+sqsession_unregister("entities");
$pre = '<b>';
$end = '</b>';
$entStr = '';