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
This commit is contained in:
Adam Weinberger 2012-11-16 21:24:54 +00:00
parent ff36e904ae
commit 367c9fdbd1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=307496
2 changed files with 12 additions and 1 deletions

View file

@ -7,7 +7,7 @@
PORTNAME= squirrelmail
PORTVERSION= 1.4.22
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= mail www
MASTER_SITES= SF/${PORTNAME}/stable/${PORTVERSION}
DISTNAME= ${PORTNAME}-webmail-${PORTVERSION}

View file

@ -0,0 +1,11 @@
--- 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 = '';